mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
c517d4abf6
What this program does : - recursive HTTP , HTTP over SSL , FTP and Gopher document retrieving - synchronizing retrieved local copies of document with remote - partial content retrieving on servers which suppots it (FTP and HTTP/1.1) - follows moved documents - supports "robots.txt" standart - supports HTTP and FTP proxy server - supports HTTP authentification - shows document tree - have interface to "at" command for scheduling - have X-windows user interface (built with own widgets based on plain Xt) - may be built with or without X-windows user interface - can handle setup files PR: ports/6085
23 lines
501 B
Plaintext
23 lines
501 B
Plaintext
--- src/net.c Sun Feb 1 10:53:47 1998
|
|
+++ /home/andy/tmp/wrk/src/net.c Fri Mar 20 22:00:21 1998
|
|
@@ -129,7 +129,9 @@
|
|
|
|
}
|
|
|
|
+#ifndef __FreeBSD__
|
|
fcntl(sock , F_SETFL , O_SYNC);
|
|
+#endif
|
|
if ((connect(sock, (struct sockaddr*)&addr, sizeof(addr)) == -1) &&
|
|
(errno && (errno != EISCONN)))
|
|
{
|
|
@@ -259,7 +261,9 @@
|
|
}
|
|
}
|
|
|
|
+#ifndef __FreeBSD__
|
|
fcntl(sock , F_SETFL , O_SYNC);
|
|
+#endif
|
|
}
|
|
#endif
|
|
if ((rsock < 0) && ((rsock = accept(sock, (struct sockaddr*)&caller, &p)) == -1))
|