[or-cvs] cosmetic fix
arma at seul.org
arma at seul.org
Sun Feb 5 03:42:06 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
routerlist.c
Log Message:
cosmetic fix
Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.436
retrieving revision 1.437
diff -u -p -d -r1.436 -r1.437
--- routerlist.c 5 Feb 2006 03:23:16 -0000 1.436
+++ routerlist.c 5 Feb 2006 03:42:04 -0000 1.437
@@ -3187,7 +3187,7 @@ list_pending_descriptor_downloads(digest
smartlist_free(tmp);
}
-/** Launch downloads for the all the descriptors whose digests are listed
+/** Launch downloads for all the descriptors whose digests are listed
* as digests[i] for lo <= i < hi. (Lo and hi may be out of range.)
* If <b>source</b> is given, download from <b>source</b>; otherwise,
* download from an appropriate random directory server.
@@ -3349,15 +3349,11 @@ update_router_descriptor_client_download
should_delay = 1;
} else {
should_delay = (last_routerdesc_download_attempted +
- MAX_CLIENT_INTERVAL_WITHOUT_REQUEST) > now;
- }
- if (should_delay) {
-// debug(LD_DIR, "There are not many downloadable routerdescs; "
-// "waiting till we have some more.");
- } else {
- info(LD_DIR, "There are not many downloadable routerdescs, but we've "
- "been waiting long enough (%d seconds). Downloading.",
- (int)(now-last_routerdesc_download_attempted));
+ MAX_CLIENT_INTERVAL_WITHOUT_REQUEST) > now;
+ if (!should_delay)
+ info(LD_DIR, "There are not many downloadable routerdescs, but we've "
+ "been waiting long enough (%d seconds). Downloading.",
+ (int)(now-last_routerdesc_download_attempted));
}
if (! should_delay) {
More information about the tor-commits
mailing list