diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-12-16 22:28:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-12-16 22:28:08 +0000 |
commit | 8d11767048349f60361760e57e27e11644759b3b (patch) | |
tree | 99989007bc4b7de87f3bdcc5ecc3d5bcfc4779b9 /lib | |
parent | fcccf9aa0d93c666e8ae31ebdde716cddd6b4482 (diff) |
recv() doesn't take MSG_NOSIGNAL in its forth argument so let's not pass it.
Brendan Jurd pointed out.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup_once.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |