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 19cd9a7c..3afeda69 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -1656,7 +1656,7 @@ MHD_resume_connection (struct MHD_Connection *connection) | |||
1656 | if (MHD_USE_SUSPEND_RESUME != (daemon->options & MHD_USE_SUSPEND_RESUME)) | 1656 | if (MHD_USE_SUSPEND_RESUME != (daemon->options & MHD_USE_SUSPEND_RESUME)) |
1657 | MHD_PANIC ("Cannot resume connections without enabling MHD_USE_SUSPEND_RESUME!\n"); | 1657 | MHD_PANIC ("Cannot resume connections without enabling MHD_USE_SUSPEND_RESUME!\n"); |
1658 | if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) && | 1658 | if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) && |
1659 | (!MHD_mutex_lock_ (&daemon->cleanup_connection_mutex)) ) | 1659 | (! MHD_mutex_lock_ (&daemon->cleanup_connection_mutex)) ) |
1660 | MHD_PANIC ("Failed to acquire cleanup mutex\n"); | 1660 | MHD_PANIC ("Failed to acquire cleanup mutex\n"); |
1661 | connection->resuming = MHD_YES; | 1661 | connection->resuming = MHD_YES; |
1662 | daemon->resuming = MHD_YES; | 1662 | daemon->resuming = MHD_YES; |
@@ -1669,7 +1669,7 @@ MHD_resume_connection (struct MHD_Connection *connection) | |||
1669 | #endif | 1669 | #endif |
1670 | } | 1670 | } |
1671 | if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) && | 1671 | if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) && |
1672 | (!MHD_mutex_unlock_ (&daemon->cleanup_connection_mutex)) ) | 1672 | (! MHD_mutex_unlock_ (&daemon->cleanup_connection_mutex)) ) |
1673 | MHD_PANIC ("Failed to release cleanup mutex\n"); | 1673 | MHD_PANIC ("Failed to release cleanup mutex\n"); |
1674 | } | 1674 | } |
1675 | 1675 | ||