diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-05 16:49:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-05 16:49:16 +0100 |
commit | 67de676736d3170a7a6e6465b8178115b7392b54 (patch) | |
tree | b35af18dbe1feae5e3a80ecccad078ce67d637b5 /src/microhttpd | |
parent | 844d571442ec56b93d58038ac21e7ddb9ab72744 (diff) | |
download | libmicrohttpd-67de676736d3170a7a6e6465b8178115b7392b54.tar.gz libmicrohttpd-67de676736d3170a7a6e6465b8178115b7392b54.zip |
try to fix OS X issue (#6090)
Diffstat (limited to 'src/microhttpd')
-rw-r--r-- | src/microhttpd/mhd_sockets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c index 1448341a..a52d5eb5 100644 --- a/src/microhttpd/mhd_sockets.c +++ b/src/microhttpd/mhd_sockets.c | |||
@@ -608,8 +608,8 @@ MHD_socket_create_listen_ (int pf) | |||
608 | return MHD_INVALID_SOCKET; | 608 | return MHD_INVALID_SOCKET; |
609 | 609 | ||
610 | #if defined(MHD_socket_nosignal_) | 610 | #if defined(MHD_socket_nosignal_) |
611 | if ( ( (! nosigpipe_set) | 611 | if ( (! nosigpipe_set) && |
612 | || (! MHD_socket_nosignal_ (fd)) ) && | 612 | (0 == MHD_socket_nosignal_ (fd)) && |
613 | (0 == MAYBE_MSG_NOSIGNAL) ) | 613 | (0 == MAYBE_MSG_NOSIGNAL) ) |
614 | { | 614 | { |
615 | /* SIGPIPE disable is possible on this platform | 615 | /* SIGPIPE disable is possible on this platform |