diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 6f7bfb58..a9164341 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -6873,8 +6873,9 @@ MHD_start_daemon_va (unsigned int flags, | |||
6873 | } | 6873 | } |
6874 | #endif | 6874 | #endif |
6875 | 6875 | ||
6876 | if ( (NULL != daemon->notify_completed) && | 6876 | if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) |
6877 | (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) ) | 6877 | && ((NULL != daemon->notify_completed) |
6878 | || (NULL != daemon->notify_connection)) ) | ||
6878 | *pflags |= MHD_USE_ITC; /* requires ITC */ | 6879 | *pflags |= MHD_USE_ITC; /* requires ITC */ |
6879 | 6880 | ||
6880 | #ifndef NDEBUG | 6881 | #ifndef NDEBUG |