summaryrefslogtreecommitdiff
path: root/security/dcetest/files/patch-tcpstuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/dcetest/files/patch-tcpstuff.c')
-rw-r--r--security/dcetest/files/patch-tcpstuff.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/dcetest/files/patch-tcpstuff.c b/security/dcetest/files/patch-tcpstuff.c
index d05de6c8575b..4abe4a655478 100644
--- a/security/dcetest/files/patch-tcpstuff.c
+++ b/security/dcetest/files/patch-tcpstuff.c
@@ -1,6 +1,6 @@
---- tcpstuff.c.orig Sat Jan 11 06:46:08 2003
-+++ tcpstuff.c Sat Jan 11 06:50:59 2003
-@@ -229,6 +229,7 @@
+--- tcpstuff.c.orig 2016-06-20 15:23:56 UTC
++++ tcpstuff.c
+@@ -229,6 +229,7 @@ make_tcp_listener(unsigned short localpo
/* this function takes in a listenFd and returns an acceptedFd */
@@ -8,7 +8,7 @@
int
tcp_accept(int listenFd)
{
-@@ -242,12 +243,14 @@
+@@ -242,12 +243,14 @@ tcp_accept(int listenFd)
(struct sockaddr *)&clientAddr,
&addrLen)) < 0)
{
@@ -25,7 +25,7 @@
lingerVal.l_onoff = 0;
lingerVal.l_linger = 0;
if (setsockopt(clientFd, SOL_SOCKET, SO_LINGER,
-@@ -260,3 +263,4 @@
+@@ -260,3 +263,4 @@ tcp_accept(int listenFd)
return(clientFd);
}