From 8d11767048349f60361760e57e27e11644759b3b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 16 Dec 2006 22:28:08 +0000 Subject: recv() doesn't take MSG_NOSIGNAL in its forth argument so let's not pass it. Brendan Jurd pointed out. --- lib/setup_once.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3