aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_close_all_connections.c
diff options
context:
space:
mode:
authorsilvioprog <silvioprog@gmail.com>2020-05-09 14:11:14 -0300
committersilvioprog <silvioprog@gmail.com>2020-05-09 14:11:14 -0300
commitf84bdf0a8c4c11d956f63bc6378aaa7fa9bb95aa (patch)
treea84f1fe8e0dd7268a0c796853be92bf34cd8dd6b /src/lib/daemon_close_all_connections.c
parentddc770d8f6da59b3788230412c9a40490594d0f3 (diff)
downloadlibmicrohttpd-f84bdf0a8c4c11d956f63bc6378aaa7fa9bb95aa.tar.gz
libmicrohttpd-f84bdf0a8c4c11d956f63bc6378aaa7fa9bb95aa.zip
Sanitized all log and error messages.
Diffstat (limited to 'src/lib/daemon_close_all_connections.c')
-rw-r--r--src/lib/daemon_close_all_connections.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/daemon_close_all_connections.c b/src/lib/daemon_close_all_connections.c
index 20ae743e..6d19240e 100644
--- a/src/lib/daemon_close_all_connections.c
+++ b/src/lib/daemon_close_all_connections.c
@@ -183,7 +183,7 @@ MHD_daemon_close_all_connections_ (struct MHD_Daemon *daemon)
183 (! MHD_itc_activate_ (daemon->itc, 183 (! MHD_itc_activate_ (daemon->itc,
184 "e")) ) 184 "e")) )
185 MHD_PANIC (_ ( 185 MHD_PANIC (_ (
186 "Failed to signal shutdown via inter-thread communication channel")); 186 "Failed to signal shutdown via inter-thread communication channel.\n"));
187#endif 187#endif
188 } 188 }
189 189
@@ -197,7 +197,7 @@ MHD_daemon_close_all_connections_ (struct MHD_Daemon *daemon)
197 { 197 {
198 MHD_mutex_unlock_chk_ (&daemon->cleanup_connection_mutex); 198 MHD_mutex_unlock_chk_ (&daemon->cleanup_connection_mutex);
199 if (! MHD_join_thread_ (pos->pid.handle)) 199 if (! MHD_join_thread_ (pos->pid.handle))
200 MHD_PANIC (_ ("Failed to join a thread\n")); 200 MHD_PANIC (_ ("Failed to join a thread.\n"));
201 MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex); 201 MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex);
202 pos->thread_joined = true; 202 pos->thread_joined = true;
203 /* The thread may have concurrently modified the DLL, 203 /* The thread may have concurrently modified the DLL,
@@ -227,7 +227,7 @@ MHD_daemon_close_all_connections_ (struct MHD_Daemon *daemon)
227 { 227 {
228 if ( (used_thr_p_c) && 228 if ( (used_thr_p_c) &&
229 (! pos->thread_joined) ) 229 (! pos->thread_joined) )
230 MHD_PANIC (_ ("Failed to join a thread\n")); 230 MHD_PANIC (_ ("Failed to join a thread.\n"));
231 close_connection (pos); 231 close_connection (pos);
232 } 232 }
233 MHD_connection_cleanup_ (daemon); 233 MHD_connection_cleanup_ (daemon);