diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 984c9247..cfe77edf 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -2435,6 +2435,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) | |||
2435 | return MHD_YES; | 2435 | return MHD_YES; |
2436 | } | 2436 | } |
2437 | MHD_connection_update_event_loop_info (connection); | 2437 | MHD_connection_update_event_loop_info (connection); |
2438 | #if EPOLL_SUPPORT | ||
2438 | switch (connection->event_loop_info) | 2439 | switch (connection->event_loop_info) |
2439 | { | 2440 | { |
2440 | case MHD_EVENT_LOOP_INFO_READ: | 2441 | case MHD_EVENT_LOOP_INFO_READ: |
@@ -2472,7 +2473,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) | |||
2472 | /* This connection is finished, nothing left to do */ | 2473 | /* This connection is finished, nothing left to do */ |
2473 | break; | 2474 | break; |
2474 | } | 2475 | } |
2475 | #if EPOLL_SUPPORT | ||
2476 | return MHD_connection_epoll_update_ (connection); | 2476 | return MHD_connection_epoll_update_ (connection); |
2477 | #else | 2477 | #else |
2478 | return MHD_YES; | 2478 | return MHD_YES; |