aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index f75d02b1..d16d205a 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3444,8 +3444,9 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
3444 s = accept4 (fd, 3444 s = accept4 (fd,
3445 addr, 3445 addr,
3446 &addrlen, 3446 &addrlen,
3447 MAYBE_SOCK_CLOEXEC | MAYBE_SOCK_NONBLOCK | MAYBE_SOCK_NOSIGPIPE); 3447 SOCK_CLOEXEC_OR_ZERO | SOCK_NONBLOCK_OR_ZERO
3448 sk_nonbl = (MAYBE_SOCK_NONBLOCK != 0); 3448 | SOCK_NOSIGPIPE_OR_ZERO);
3449 sk_nonbl = (SOCK_NONBLOCK_OR_ZERO != 0);
3449#else /* ! USE_ACCEPT4 */ 3450#else /* ! USE_ACCEPT4 */
3450 s = accept (fd, 3451 s = accept (fd,
3451 addr, 3452 addr,