diff options
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r-- | src/daemon/daemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 473bef3a..6f8f6b17 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Daniel Pittman | 24 | * @author Daniel Pittman |
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | */ | 26 | */ |
27 | #include "platform.h" | ||
27 | #include "internal.h" | 28 | #include "internal.h" |
28 | #include "response.h" | 29 | #include "response.h" |
29 | #include "connection.h" | 30 | #include "connection.h" |
@@ -411,9 +412,11 @@ MHD_accept_connection (struct MHD_Daemon *daemon) | |||
411 | } | 412 | } |
412 | return MHD_NO; | 413 | return MHD_NO; |
413 | } | 414 | } |
415 | #if HAVE_MESSAGES | ||
414 | #if DEBUG_CONNECT | 416 | #if DEBUG_CONNECT |
415 | MHD_DLOG (daemon, "Accepted connection on socket %d\n", s); | 417 | MHD_DLOG (daemon, "Accepted connection on socket %d\n", s); |
416 | #endif | 418 | #endif |
419 | #endif | ||
417 | have = 0; | 420 | have = 0; |
418 | if ((daemon->per_ip_connection_limit != 0) && (daemon->max_connections > 0)) | 421 | if ((daemon->per_ip_connection_limit != 0) && (daemon->max_connections > 0)) |
419 | { | 422 | { |