summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-04-16 00:12:44 +0000
committerRoger Dingledine <arma@torproject.org>2008-04-16 00:12:44 +0000
commit5e299b5e013ef9608810d4cc6e4ff63d8928f5f4 (patch)
treecfd7888a1bd61b2b1e1c1df98ca3e1d0b2da2d26 /src/or/routerlist.c
parent2b4ff1718f846b438229ea8419b3b5e8b0b192a5 (diff)
downloadtor-5e299b5e013ef9608810d4cc6e4ff63d8928f5f4.tar.gz
tor-5e299b5e013ef9608810d4cc6e4ff63d8928f5f4.zip
minor fixes that have been accumulating
svn:r14378
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 60427bb586..5ac4ee467b 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3103,6 +3103,7 @@ routerlist_remove_old_routers(void)
* pruning current routers that are too old and that nobody recommends. (If
* we don't have enough networkstatuses, then we should get more before we
* decide to kill routers.) */
+ /* XXX021 we don't check if we have a v3 consensus, do we? should we? -RD */
if (!caches ||
smartlist_len(networkstatus_v2_list) > get_n_v2_authorities() / 2) {
cutoff = now - ROUTER_MAX_AGE;