diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-06 18:27:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-06 18:27:14 +0000 |
commit | 28dd56f98263035c8c50b78bb63badf45a6fc1ac (patch) | |
tree | b569969615e60a42552e5a89a6e70757782a094a /src/or | |
parent | 6bc071f765d2829249db52b526c8f5211cb3ba5f (diff) | |
download | tor-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/or')
-rw-r--r-- | src/or/routerlist.c | 2 |
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; |