Commit 8d117670 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

Brendan Jurd pointed out.
parent fcccf9aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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