1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/textproc/glimpse/files/patch-ac
Andrey A. Chernov 9d01e1a8e3 upgrade to 4.1
1998-11-02 03:52:25 +00:00

12 lines
456 B
Plaintext

--- 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