]> granicus.if.org Git - curl/commitdiff
recv() doesn't take MSG_NOSIGNAL in its forth argument so let's not pass it.
authorDaniel Stenberg <daniel@haxx.se>
Sat, 16 Dec 2006 22:28:08 +0000 (22:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 16 Dec 2006 22:28:08 +0000 (22:28 +0000)
Brendan Jurd pointed out.

lib/setup_once.h

index 9f36995eb93e31aeabc2734b8401e45370b256be..a1e9f098f796ffdb8d1b1c6bf18c4f2ba9a2bfc7 100644 (file)
@@ -81,7 +81,7 @@
 #define sread(x,y,z) (ssize_t)recv((RECV_TYPE_ARG1)(x), \
                                    (RECV_TYPE_ARG2)(y), \
                                    (RECV_TYPE_ARG3)(z), \
-                                   (RECV_TYPE_ARG4)(SEND_4TH_ARG))
+                                   (RECV_TYPE_ARG4)(0))
 #endif
 #else /* HAVE_RECV */
 #ifndef sread