From 00a7a37c94e2cb788941202a1c3b824f6ebf6df0 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 23 Jun 2005 07:57:43 +0000 Subject: [PATCH] we were printing the number of idle dns workers incorrectly. svn:r4477 --- src/or/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/dns.c b/src/or/dns.c index 7bda73e463..4a02e066ae 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -913,7 +913,7 @@ spawn_enough_dnsworkers(void) while (num_dnsworkers > num_dnsworkers_busy+MAX_IDLE_DNSWORKERS) { /* too many idle? */ /* cull excess workers */ log_fn(LOG_NOTICE,"%d of %d dnsworkers are idle. Killing one.", - num_dnsworkers-num_dnsworkers_needed, num_dnsworkers); + num_dnsworkers-num_dnsworkers_busy, num_dnsworkers); dnsconn = connection_get_by_type_state(CONN_TYPE_DNSWORKER, DNSWORKER_STATE_IDLE); tor_assert(dnsconn); connection_mark_for_close(dnsconn);