recv() doesn't take MSG_NOSIGNAL in its forth argument so let's not pass it.

Brendan Jurd pointed out.
This commit is contained in:
Daniel Stenberg 2006-12-16 22:28:08 +00:00
parent fcccf9aa0d
commit 8d11767048
1 changed files with 1 additions and 1 deletions

View 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