diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-11-02 03:52:25 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-11-02 03:52:25 +0000 |
commit | 9d01e1a8e368a87074c6d99dac070e034e2e48df (patch) | |
tree | d8d24dd315951c17239d563c1ac17c3228e78585 /textproc/glimpse/files | |
parent | 886dc9fb222ed65388dd2affc12580955cdddbd2 (diff) |
Notes
Diffstat (limited to 'textproc/glimpse/files')
-rw-r--r-- | textproc/glimpse/files/patch-ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/glimpse/files/patch-ac b/textproc/glimpse/files/patch-ac new file mode 100644 index 000000000000..987878344954 --- /dev/null +++ b/textproc/glimpse/files/patch-ac @@ -0,0 +1,11 @@ +--- main.c.bak Mon Apr 28 09:14:04 1997 ++++ main.c Mon Nov 2 06:38:46 1998 +@@ -1059,7 +1059,7 @@ + clargc = 0; + clargv = NULL; + cli_len = sizeof(cli_addr); +- if ((newsockfd = accept(sockfd, &cli_addr, &cli_len)) < 0) continue; ++ if ((newsockfd = accept(sockfd, (struct sockaddr *)&cli_addr, &cli_len)) < 0) continue; + if (getreq(newsockfd, glimpse_reqbuf, &clstdin, &clstdout, &clstderr, &clargc, &clargv, &clpid) < 0) { + ret = -1; + #if DEBUG |