summaryrefslogtreecommitdiff
path: root/server/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/dispatch.c')
-rw-r--r--server/dispatch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/dispatch.c b/server/dispatch.c
index b8ee700..e83213f 100644
--- a/server/dispatch.c
+++ b/server/dispatch.c
@@ -94,6 +94,7 @@ static Unacked *nacktab[NACKTAB_HASHSIZE];
static struct in_addr *hosts;
static int hosts_size = 0, num_hosts = 0;
+#ifdef DEBUG
static void
dump_stats (void *arg)
{
@@ -116,6 +117,7 @@ dump_stats (void *arg)
/* log stuff once an hour */
timer_set_rel ((long) 6*60*60, dump_stats, arg);
}
+#endif
/*
* Handle an input packet.