]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Nov 16 02:20:50.089 [info] update_consensus_router_descriptor_downloads(): 0 router...
authorRoger Dingledine <arma@torproject.org>
Fri, 16 Nov 2007 07:23:25 +0000 (07:23 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 16 Nov 2007 07:23:25 +0000 (07:23 +0000)
Nov 16 02:20:50.089 [info] launch_router_descriptor_downloads(): There are not many downloadable routerdescs, but we haven't tried downloading descriptors recently. Downloading.

Get rid of the second line.

svn:r12510

src/or/routerlist.c

index 0854e01ab7569b85c352880284fb00145c3624c8..eeb49096492b31d8daa1f1e88ed657c96f4e01f8 100644 (file)
@@ -3565,7 +3565,7 @@ launch_router_descriptor_downloads(smartlist_t *downloadable, time_t now)
     } else {
       should_delay = (last_routerdesc_download_attempted +
                       MAX_CLIENT_INTERVAL_WITHOUT_REQUEST) > now;
-      if (!should_delay) {
+      if (!should_delay && n_downloadable) {
         if (last_routerdesc_download_attempted) {
           log_info(LD_DIR,
                    "There are not many downloadable routerdescs, but we've "