aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_start.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/daemon_start.c')
-rw-r--r--src/lib/daemon_start.c22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/lib/daemon_start.c b/src/lib/daemon_start.c
index b0b1f3c3..d2db4d79 100644
--- a/src/lib/daemon_start.c
+++ b/src/lib/daemon_start.c
@@ -23,15 +23,7 @@
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25#include "internal.h" 25#include "internal.h"
26 26#include "daemon_select.h"
27/* ************************* event loops ********************** */
28
29
30
31/* TODO: migrate! */
32
33
34/* ************* Functions for MHD_daemon_start() ************ */
35 27
36 28
37/** 29/**
@@ -626,17 +618,17 @@ MHD_polling_thread (void *cls)
626 MHD_PANIC ("MHD_ELS_AUTO should have been mapped to preferred style"); 618 MHD_PANIC ("MHD_ELS_AUTO should have been mapped to preferred style");
627 break; 619 break;
628 case MHD_ELS_SELECT: 620 case MHD_ELS_SELECT:
629 MHD_select (daemon, 621 MHD_daemon_select_ (daemon,
630 MHD_YES); 622 MHD_YES);
631 break; 623 break;
632 case MHD_ELS_POLL: 624 case MHD_ELS_POLL:
633 MHD_poll (daemon, 625 MHD_daemon_poll_ (daemon,
634 MHD_YES); 626 MHD_YES);
635 break; 627 break;
636 case MHD_ELS_EPOLL: 628 case MHD_ELS_EPOLL:
637#ifdef EPOLL_SUPPORT 629#ifdef EPOLL_SUPPORT
638 MHD_epoll (daemon, 630 MHD_daemon_epoll_ (daemon,
639 MHD_YES); 631 MHD_YES);
640#else 632#else
641 MHD_PANIC ("MHD_ELS_EPOLL not supported, should have failed earlier"); 633 MHD_PANIC ("MHD_ELS_EPOLL not supported, should have failed earlier");
642#endif 634#endif