aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/response.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r--src/microhttpd/response.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index e96bf0d8..caf7bd18 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -2023,7 +2023,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response,
2023#endif /* MHD_socket_nosignal_ */ 2023#endif /* MHD_socket_nosignal_ */
2024 if ( (! MHD_SCKT_FD_FITS_FDSET_ (sv[1], 2024 if ( (! MHD_SCKT_FD_FITS_FDSET_ (sv[1],
2025 NULL)) && 2025 NULL)) &&
2026 (0 == (daemon->options & (MHD_USE_POLL | MHD_USE_EPOLL))) ) 2026 MHD_D_IS_USING_SELECT_ (daemon) )
2027 { 2027 {
2028#ifdef HAVE_MESSAGES 2028#ifdef HAVE_MESSAGES
2029 MHD_DLOG (daemon, 2029 MHD_DLOG (daemon,
@@ -2044,7 +2044,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response,
2044 urh->mhd.celi = MHD_EPOLL_STATE_UNREADY; 2044 urh->mhd.celi = MHD_EPOLL_STATE_UNREADY;
2045#ifdef EPOLL_SUPPORT 2045#ifdef EPOLL_SUPPORT
2046 /* Launch IO processing by the event loop */ 2046 /* Launch IO processing by the event loop */
2047 if (0 != (daemon->options & MHD_USE_EPOLL)) 2047 if (MHD_D_IS_USING_EPOLL_ (daemon))
2048 { 2048 {
2049 /* We're running with epoll(), need to add the sockets 2049 /* We're running with epoll(), need to add the sockets
2050 to the event set of the daemon's `epoll_upgrade_fd` */ 2050 to the event set of the daemon's `epoll_upgrade_fd` */