summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-01-22 20:57:26 +0000
committerNick Mathewson <nickm@torproject.org>2007-01-22 20:57:26 +0000
commitadc5bb4d0486556d6f2be333f83f698cabf29a77 (patch)
treea96cde4013231e2edef615af9dabbdffbe9d7b13 /src/or
parent9f733c31ccd4dda36b80353aea4c930df0f6eb83 (diff)
downloadtor-adc5bb4d0486556d6f2be333f83f698cabf29a77.tar.gz
tor-adc5bb4d0486556d6f2be333f83f698cabf29a77.zip
r9723@catbus: nickm | 2007-01-22 15:47:17 -0500
Fix an XXXX012 in routerlist.c: when we do not have enough networkstatuses to launch router requests, do not launch router requests. Backport candidate. svn:r9388
Diffstat (limited to 'src/or')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 0f31a1f5e9..4ce32e8868 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3765,7 +3765,7 @@ update_router_descriptor_client_downloads(time_t now)
smartlist_len(networkstatus_list) <= get_n_v2_authorities()/2) {
log_info(LD_DIR,
"Not enough networkstatus documents to launch requests.");
- /* XXX012 should we return here or something? */
+ return;
}
downloadable = router_list_client_downloadable();