mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
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:
parent
fcccf9aa0d
commit
8d11767048
@ -81,7 +81,7 @@
|
|||||||
#define sread(x,y,z) (ssize_t)recv((RECV_TYPE_ARG1)(x), \
|
#define sread(x,y,z) (ssize_t)recv((RECV_TYPE_ARG1)(x), \
|
||||||
(RECV_TYPE_ARG2)(y), \
|
(RECV_TYPE_ARG2)(y), \
|
||||||
(RECV_TYPE_ARG3)(z), \
|
(RECV_TYPE_ARG3)(z), \
|
||||||
(RECV_TYPE_ARG4)(SEND_4TH_ARG))
|
(RECV_TYPE_ARG4)(0))
|
||||||
#endif
|
#endif
|
||||||
#else /* HAVE_RECV */
|
#else /* HAVE_RECV */
|
||||||
#ifndef sread
|
#ifndef sread
|
||||||
|
Loading…
Reference in New Issue
Block a user