56ce175394
Fixes some bugs, including a serious bug involving Boolean searches of length 1 between versions 4.0 and 4.1.
13 lines
516 B
Text
13 lines
516 B
Text
$NetBSD: patch-aa,v 1.3 1998/12/03 12:39:45 frueauf Exp $
|
|
|
|
--- main.c.orig Mon Apr 28 00:14:04 1997
|
|
+++ main.c Sun Nov 29 03:34:48 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
|