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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 895f14f6..2761bc28 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1651,9 +1651,9 @@ thread_main_handle_connection (void *data)
1651#endif 1651#endif
1652#undef EXTRA_SLOTS 1652#undef EXTRA_SLOTS
1653#ifdef HAVE_POLL 1653#ifdef HAVE_POLL
1654 const int use_poll = (0 != (daemon->options & MHD_USE_POLL)); 1654 const bool use_poll = (0 != (daemon->options & MHD_USE_POLL));
1655#else /* ! HAVE_POLL */ 1655#else /* ! HAVE_POLL */
1656 const int use_poll = MHD_NO; 1656 const bool use_poll = 0;
1657#endif /* ! HAVE_POLL */ 1657#endif /* ! HAVE_POLL */
1658 bool was_suspended = false; 1658 bool was_suspended = false;
1659 1659
@@ -1773,7 +1773,7 @@ thread_main_handle_connection (void *data)
1773 tv.tv_usec = 0; 1773 tv.tv_usec = 0;
1774 tvp = &tv; 1774 tvp = &tv;
1775 } 1775 }
1776 if (0 == (daemon->options & MHD_USE_POLL)) 1776 if (! use_poll)
1777 { 1777 {
1778 /* use select */ 1778 /* use select */
1779 bool err_state = false; 1779 bool err_state = false;