Browse Source

r16459@catbus: nickm | 2007-11-06 13:26:11 -0500
Fix "0 request for 0 router" message.


svn:r12399

Nick Mathewson 16 years ago
parent
commit
28dd56f982
2 changed files with 2 additions and 1 deletions
  1. 1 0
      ChangeLog
  2. 1 1
      src/or/routerlist.c

+ 1 - 0
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

+ 1 - 1
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;