diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index d9d88ec1..52b73e8a 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -3119,9 +3119,11 @@ MHD_start_daemon_va (unsigned int flags, | |||
3119 | int sk_flags = fcntl (socket_fd, F_GETFL); | 3119 | int sk_flags = fcntl (socket_fd, F_GETFL); |
3120 | if (0 != fcntl (socket_fd, F_SETFL, sk_flags | O_NONBLOCK)) | 3120 | if (0 != fcntl (socket_fd, F_SETFL, sk_flags | O_NONBLOCK)) |
3121 | { | 3121 | { |
3122 | #if HAVE_MESSAGES | ||
3122 | MHD_DLOG (daemon, | 3123 | MHD_DLOG (daemon, |
3123 | "Failed to make listen socket non-blocking: %s\n", | 3124 | "Failed to make listen socket non-blocking: %s\n", |
3124 | STRERROR (errno)); | 3125 | STRERROR (errno)); |
3126 | #endif | ||
3125 | if (0 != CLOSE (socket_fd)) | 3127 | if (0 != CLOSE (socket_fd)) |
3126 | MHD_PANIC ("close failed\n"); | 3128 | MHD_PANIC ("close failed\n"); |
3127 | goto free_and_fail; | 3129 | goto free_and_fail; |