summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-06 18:27:14 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-06 18:27:14 +0000
commit28dd56f98263035c8c50b78bb63badf45a6fc1ac (patch)
treeb569969615e60a42552e5a89a6e70757782a094a /src
parent6bc071f765d2829249db52b526c8f5211cb3ba5f (diff)
downloadtor-28dd56f98263035c8c50b78bb63badf45a6fc1ac.tar.gz
tor-28dd56f98263035c8c50b78bb63badf45a6fc1ac.zip
r16459@catbus: nickm | 2007-11-06 13:26:11 -0500
Fix "0 request for 0 router" message. svn:r12399
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
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;