aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_daemon.c')
-rw-r--r--src/microhttpd/test_daemon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/microhttpd/test_daemon.c b/src/microhttpd/test_daemon.c
index 4692085e..169ebb60 100644
--- a/src/microhttpd/test_daemon.c
+++ b/src/microhttpd/test_daemon.c
@@ -40,7 +40,7 @@ testStartError ()
40{ 40{
41 struct MHD_Daemon *d; 41 struct MHD_Daemon *d;
42 42
43 d = MHD_start_daemon (MHD_USE_DEBUG, 0, NULL, NULL, NULL, NULL); 43 d = MHD_start_daemon (MHD_USE_ERROR_LOG, 0, NULL, NULL, NULL, NULL);
44 if (d != NULL) 44 if (d != NULL)
45 return 1; 45 return 1;
46 return 0; 46 return 0;
@@ -75,7 +75,7 @@ testStartStop ()
75{ 75{
76 struct MHD_Daemon *d; 76 struct MHD_Daemon *d;
77 77
78 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_DEBUG, 78 d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG,
79 1080, 79 1080,
80 &apc_nothing, 80 &apc_nothing,
81 NULL, &ahc_nothing, NULL, MHD_OPTION_END); 81 NULL, &ahc_nothing, NULL, MHD_OPTION_END);
@@ -93,7 +93,7 @@ testExternalRun ()
93 MHD_socket maxfd; 93 MHD_socket maxfd;
94 int i; 94 int i;
95 95
96 d = MHD_start_daemon (MHD_USE_DEBUG, 96 d = MHD_start_daemon (MHD_USE_ERROR_LOG,
97 1081, 97 1081,
98 &apc_all, NULL, &ahc_nothing, NULL, MHD_OPTION_END); 98 &apc_all, NULL, &ahc_nothing, NULL, MHD_OPTION_END);
99 99
@@ -124,7 +124,7 @@ static int
124testThread () 124testThread ()
125{ 125{
126 struct MHD_Daemon *d; 126 struct MHD_Daemon *d;
127 d = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_INTERNAL_POLLING_THREAD, 127 d = MHD_start_daemon (MHD_USE_ERROR_LOG | MHD_USE_INTERNAL_POLLING_THREAD,
128 1082, 128 1082,
129 &apc_all, NULL, &ahc_nothing, NULL, MHD_OPTION_END); 129 &apc_all, NULL, &ahc_nothing, NULL, MHD_OPTION_END);
130 130
@@ -140,7 +140,7 @@ static int
140testMultithread () 140testMultithread ()
141{ 141{
142 struct MHD_Daemon *d; 142 struct MHD_Daemon *d;
143 d = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_THREAD_PER_CONNECTION, 143 d = MHD_start_daemon (MHD_USE_ERROR_LOG | MHD_USE_THREAD_PER_CONNECTION,
144 1083, 144 1083,
145 &apc_all, NULL, &ahc_nothing, NULL, MHD_OPTION_END); 145 &apc_all, NULL, &ahc_nothing, NULL, MHD_OPTION_END);
146 146