diff options
| author | Brian Somers <brian@FreeBSD.org> | 2000-08-08 00:12:18 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2000-08-08 00:12:18 +0000 |
| commit | 2e53a3e88906a9ee8e7317a4e8df01492dc04d74 (patch) | |
| tree | 01f4902b8b86c13f378a00563b3ecf0f97eebcf3 /www/httptunnel/files/patch-aa | |
| parent | Remove MASTER_SITES, no longer there. Remove myself as maintainer. (diff) | |
3.0.1 -> 3.1:
Defeat stupid proxies that don't recognise no-cache
Update configure.in (again)
Fix some typos and other cosmetic stuff
Integrate all port patches back into the main source archive
Notes
Notes:
svn path=/head/; revision=31389
Diffstat (limited to 'www/httptunnel/files/patch-aa')
| -rw-r--r-- | www/httptunnel/files/patch-aa | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/www/httptunnel/files/patch-aa b/www/httptunnel/files/patch-aa deleted file mode 100644 index a049626a3f73..000000000000 --- a/www/httptunnel/files/patch-aa +++ /dev/null @@ -1,40 +0,0 @@ ---- common.c.orig Wed Dec 15 06:39:03 1999 -+++ common.c Wed Jul 19 10:09:32 2000 -@@ -115,7 +115,7 @@ - #endif - - int --server_socket (int port, int backlog) -+server_socket (struct in_addr addr, int port, int backlog) - { - struct sockaddr_in address; - int i, s; -@@ -131,9 +131,13 @@ - strerror (errno)); - } - -+ memset(&address, '\0', sizeof address); -+#if defined(__FreeBSD__) || defined(__OpenBSD__) -+ address.sin_len = sizeof address; -+#endif - address.sin_family = PF_INET; - address.sin_port = htons ((short)port); -- address.sin_addr.s_addr = INADDR_ANY; -+ address.sin_addr = addr; - - if (bind (s, (struct sockaddr *)&address, sizeof (address)) == -1) - { -@@ -153,8 +157,12 @@ - int - set_address (struct sockaddr_in *address, const char *host, int port) - { -+ memset(address, '\0', sizeof *address); -+#if defined(__FreeBSD__) || defined(__OpenBSD__) -+ address->sin_len = sizeof *address; -+#endif - address->sin_family = PF_INET; -- address->sin_port = htons ((short)port); -+ address->sin_port = htons ((u_short)port); - address->sin_addr.s_addr = inet_addr (host); - - if (address->sin_addr.s_addr == INADDR_NONE) |
