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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 30cbbd06..43c026ff 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1486,7 +1486,7 @@ thread_main_handle_connection (void *data)
1486#if WINDOWS 1486#if WINDOWS
1487 /* drain signaling pipe before other processing */ 1487 /* drain signaling pipe before other processing */
1488 if ( (MHD_INVALID_PIPE_ != spipe) && 1488 if ( (MHD_INVALID_PIPE_ != spipe) &&
1489 (0 != (p[1].revents & (POLLERR | POLLHUP))) ) 1489 (0 != (p[1].revents & (POLLERR | POLLHUP | POLLIN))) )
1490 MHD_pipe_drain_ (spipe); 1490 MHD_pipe_drain_ (spipe);
1491#endif 1491#endif
1492 if (MHD_NO == 1492 if (MHD_NO ==