diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-08-19 14:58:38 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-08-19 14:58:38 +0000 |
commit | 5cca20ccaa1f326abfffd8084345e35e690ec9b8 (patch) | |
tree | 044e4525b8f435608a697346a9f0d670b9d7c398 | |
parent | 0065f1525de9c3ee6bfec040dfa5fdb1688b7c58 (diff) |
MHD_start_daemon_va(): Fixed pipe errors reporting
-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 6f61b71f..a2f7ec7f 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -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"); |