aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-02-15 10:13:05 +0000
committerChristian Grothoff <christian@grothoff.org>2014-02-15 10:13:05 +0000
commitf557e2ad5080d832598f58041c9fab2901457012 (patch)
treec5d8406f151cd0df981815d589f4354f669ed887 /src/microhttpd/daemon.c
parentcd967c6e5703076b7edaf2040f9a776324af2a29 (diff)
downloadlibmicrohttpd-f557e2ad5080d832598f58041c9fab2901457012.tar.gz
libmicrohttpd-f557e2ad5080d832598f58041c9fab2901457012.zip
Karlson2k: fix MHD_get_fdset with defined DEBUG_CONNECT
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 0cb91083..6da3fd88 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -645,7 +645,8 @@ MHD_get_fdset (struct MHD_Daemon *daemon,
645 } 645 }
646#if DEBUG_CONNECT 646#if DEBUG_CONNECT
647#if HAVE_MESSAGES 647#if HAVE_MESSAGES
648 MHD_DLOG (daemon, "Maximum socket in select set: %d\n", *max_fd); 648 if (NULL != max_fd)
649 MHD_DLOG (daemon, "Maximum socket in select set: %d\n", *max_fd);
649#endif 650#endif
650#endif 651#endif
651 return MHD_YES; 652 return MHD_YES;