From: Daniel Stenberg Date: Sat, 16 Dec 2006 22:28:08 +0000 (+0000) Subject: recv() doesn't take MSG_NOSIGNAL in its forth argument so let's not pass it. X-Git-Tag: curl-7_16_1~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d11767048349f60361760e57e27e11644759b3b;p=curl recv() doesn't take MSG_NOSIGNAL in its forth argument so let's not pass it. Brendan Jurd pointed out. --- diff --git a/lib/setup_once.h b/lib/setup_once.h index 9f36995eb..a1e9f098f 100644 --- a/lib/setup_once.h +++ b/lib/setup_once.h @@ -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