diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 12495841..7a310c1f 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -5665,7 +5665,7 @@ MHD_start_daemon_va (unsigned int flags, | |||
5665 | } | 5665 | } |
5666 | #endif | 5666 | #endif |
5667 | 5667 | ||
5668 | /* Thread pooling currently works only with internal select thread model */ | 5668 | /* Thread pooling currently works only with internal select thread mode */ |
5669 | if ( (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) && | 5669 | if ( (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) && |
5670 | (daemon->worker_pool_size > 0) ) | 5670 | (daemon->worker_pool_size > 0) ) |
5671 | { | 5671 | { |
@@ -6135,7 +6135,7 @@ MHD_start_daemon_va (unsigned int flags, | |||
6135 | 6135 | ||
6136 | memcpy (d, daemon, sizeof (struct MHD_Daemon)); | 6136 | memcpy (d, daemon, sizeof (struct MHD_Daemon)); |
6137 | /* Adjust pooling params for worker daemons; note that memcpy() | 6137 | /* Adjust pooling params for worker daemons; note that memcpy() |
6138 | has already copied MHD_USE_INTERNAL_POLLING_THREAD thread model into | 6138 | has already copied MHD_USE_INTERNAL_POLLING_THREAD thread mode into |
6139 | the worker threads. */ | 6139 | the worker threads. */ |
6140 | d->master = daemon; | 6140 | d->master = daemon; |
6141 | d->worker_pool_size = 0; | 6141 | d->worker_pool_size = 0; |