diff options
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r-- | src/microhttpd/response.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index a77dbe27..4ae46bf3 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c | |||
@@ -951,8 +951,10 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response, | |||
951 | struct MHD_UpgradeResponseHandle *urh; | 951 | struct MHD_UpgradeResponseHandle *urh; |
952 | size_t rbo; | 952 | size_t rbo; |
953 | 953 | ||
954 | #ifdef MHD_USE_THREADS | ||
954 | mhd_assert ( (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) || \ | 955 | mhd_assert ( (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) || \ |
955 | MHD_thread_ID_match_current_ (connection->pid) ); | 956 | MHD_thread_ID_match_current_ (connection->pid) ); |
957 | #endif /* MHD_USE_THREADS */ | ||
956 | 958 | ||
957 | if (0 == (daemon->options & MHD_ALLOW_UPGRADE)) | 959 | if (0 == (daemon->options & MHD_ALLOW_UPGRADE)) |
958 | return MHD_NO; | 960 | return MHD_NO; |