r16459@catbus: nickm | 2007-11-06 13:26:11 -0500

Fix "0 request for 0 router" message.


svn:r12399
This commit is contained in:
Nick Mathewson 2007-11-06 18:27:14 +00:00
parent 6bc071f765
commit 28dd56f982
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;