mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
MHD_start_daemon_va(): Fixed pipe errors reporting
This commit is contained in:
1 parent
0065f1525d
commit
5cca20ccaa
1 file changed
+2
-2
@@ -3778,7 +3778,7 @@ MHD_start_daemon_va (unsigned int flags,
|
||||
#ifdef HAVE_MESSAGES
|
||||
MHD_DLOG (daemon,
|
||||
"Failed to create control pipe: %s\n",
|
||||
MHD_strerror_ (errno));
|
||||
MHD_pipe_last_strerror_ ());
|
||||
#endif
|
||||
free (daemon);
|
||||
return NULL;
|
||||
@@ -3788,7 +3788,7 @@ MHD_start_daemon_va (unsigned int flags,
|
||||
#ifdef HAVE_MESSAGES
|
||||
MHD_DLOG (daemon,
|
||||
"Failed to make control pipe non-blocking: %s\n",
|
||||
MHD_strerror_ (errno));
|
||||
MHD_pipe_last_strerror_ ());
|
||||
#endif
|
||||
if (0 != MHD_pipe_close_ (daemon->wpipe[0]))
|
||||
MHD_PANIC ("close failed\n");
|
||||
|
||||
Reference in new issue
Block a user