summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2012-10-03 08:46:06 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2012-10-03 08:46:06 +0000
commit0ae05058550a2d17e087fc2e5199d00e9840294e (patch)
tree5e38e8bea18f72abcbbf3eb3891740cb3dad8a65
parentacf2919b52008f0cdcb3a6815a9d1d1de41fc0ed (diff)
Only show "inflight" debugging message if compiled with DEBUG > 1.
-rw-r--r--usr.sbin/relayd/relayd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c
index ccc37788912..b516a77f26b 100644
--- a/usr.sbin/relayd/relayd.c
+++ b/usr.sbin/relayd/relayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.c,v 1.110 2012/10/03 08:33:31 reyk Exp $ */
+/* $OpenBSD: relayd.c,v 1.111 2012/10/03 08:46:05 reyk Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
@@ -1240,7 +1240,7 @@ accept_reserve(int sockfd, struct sockaddr *addr, socklen_t *addrlen,
if ((ret = accept(sockfd, addr, addrlen)) > -1) {
(*counter)++;
- log_debug("%s: inflight incremented, now %d",__func__,
+ DPRINTF("%s: inflight incremented, now %d",__func__,
*counter);
}
return ret;