The inflight decremented message should only be printed with DEBUG.
authorreyk <reyk@openbsd.org>
Tue, 29 Jul 2014 16:38:34 +0000 (16:38 +0000)
committerreyk <reyk@openbsd.org>
Tue, 29 Jul 2014 16:38:34 +0000 (16:38 +0000)
usr.sbin/httpd/server.c

index a41bc2c..cff35e0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: server.c,v 1.14 2014/07/29 12:16:36 reyk Exp $        */
+/*     $OpenBSD: server.c,v 1.15 2014/07/29 16:38:34 reyk Exp $        */
 
 /*
  * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -577,7 +577,7 @@ server_inflight_dec(struct client *clt, const char *why)
 
        /* the file was never opened, thus this was an inflight client. */
        server_inflight--;
-       log_debug("%s: inflight decremented, now %d, %s",
+       DPRINTF("%s: inflight decremented, now %d, %s",
            __func__, server_inflight, why);
 }