diff options
-rw-r--r-- | net/csocks/files/patch-src_csocks.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/csocks/files/patch-src_csocks.c b/net/csocks/files/patch-src_csocks.c new file mode 100644 index 000000000000..ef09eb3bcfda --- /dev/null +++ b/net/csocks/files/patch-src_csocks.c @@ -0,0 +1,14 @@ +--- csocks.c.orig 2008-02-25 09:37:38.000000000 +0100 ++++ csocks.c 2008-02-25 09:38:53.000000000 +0100 +@@ -1537,11 +1537,7 @@ + continue; + }while(1); + +-#if defined(DARWIN) || defined(NETBSD) + if ((rlen = send (sock, (void *) sen, lenght, 0)) <= 0){ +-#else +- if ((rlen = send (sock, (void *) sen, lenght, MSG_NOSIGNAL)) <= 0){ +-#endif + fprintf(stderr,"ERROR - socks_send - send - cannot send message!\n"); + return CSOCKS_KO; + } |