libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 67de676736d3170a7a6e6465b8178115b7392b54
parent 844d571442ec56b93d58038ac21e7ddb9ab72744
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  5 Mar 2020 16:49:16 +0100

try to fix OS X issue  (#6090)

Diffstat:
Msrc/microhttpd/mhd_sockets.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c @@ -608,8 +608,8 @@ MHD_socket_create_listen_ (int pf) return MHD_INVALID_SOCKET; #if defined(MHD_socket_nosignal_) - if ( ( (! nosigpipe_set) - || (! MHD_socket_nosignal_ (fd)) ) && + if ( (! nosigpipe_set) && + (0 == MHD_socket_nosignal_ (fd)) && (0 == MAYBE_MSG_NOSIGNAL) ) { /* SIGPIPE disable is possible on this platform