summaryrefslogtreecommitdiff
path: root/www/dhttpd/files/patch-socket.cc
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-09-30 03:20:38 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-09-30 04:22:58 +0200
commit2e0a45af304b9b1153aa1ec55065a4d3c16dcc19 (patch)
treea1f909440a1ea0ab29c6f13a3a26efca92f8f889 /www/dhttpd/files/patch-socket.cc
parentjapanese/awffull: Remove expired port (diff)
www/dhttpd: Remove expired port
2023-09-30 www/dhttpd: Abandonware, last release in 15+ years ago. Consider using www/darkhttpd, www/obhttpd or www/miniserve
Diffstat (limited to 'www/dhttpd/files/patch-socket.cc')
-rw-r--r--www/dhttpd/files/patch-socket.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/www/dhttpd/files/patch-socket.cc b/www/dhttpd/files/patch-socket.cc
deleted file mode 100644
index d0cf933ff48b..000000000000
--- a/www/dhttpd/files/patch-socket.cc
+++ /dev/null
@@ -1,27 +0,0 @@
---- src/socket.cc.orig Mon Jun 24 15:12:40 2002
-+++ src/socket.cc Mon Jun 24 15:13:03 2002
-@@ -17,6 +17,7 @@
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-+#include <sys/types.h>
- #include <errno.h>
- #include <netdb.h>
- #include <netinet/in.h>
-@@ -24,7 +25,6 @@
- #include <stdio.h>
- #include <string.h>
- #include <unistd.h>
--#include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/types.h>
- #include <sys/wait.h>
-@@ -149,7 +149,7 @@
- do
- {
- cSidLen = sizeof( cSid );
-- s = accept( sock, &cSid, &cSidLen );
-+ s = accept( sock, &cSid, (socklen_t *) &cSidLen );
- }
- while( s==-1 );
-