From 28dd56f98263035c8c50b78bb63badf45a6fc1ac Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 6 Nov 2007 18:27:14 +0000 Subject: [PATCH] r16459@catbus: nickm | 2007-11-06 13:26:11 -0500 Fix "0 request for 0 router" message. svn:r12399 --- ChangeLog | 1 + src/or/routerlist.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3124cdfacf..0f5399fa26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -83,6 +83,7 @@ Changes in version 0.2.0.10-alpha - 2007-11-0? - Refuse to start if both ORPort and UseBridges are set. Bugfix on 0.2.0.x. - Better log message on vote from unknown authority. + - Don't log "Launching 0 request for 0 router". o Minor bugfixes (memory leaks): - Stop leaking memory every time we parse a v3 certificate. Bugfix diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 3fa6353d56..f0cc674ca6 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -3527,7 +3527,7 @@ launch_router_descriptor_downloads(smartlist_t *downloadable, time_t now) } } - if (! should_delay) { + if (! should_delay && n_downloadable) { int i, n_per_request; const char *req_plural = "", *rtr_plural = ""; n_per_request = (n_downloadable+MIN_REQUESTS-1) / MIN_REQUESTS;