aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2014-01-30 12:48:49 +0100
committerNick Mathewson <nickm@torproject.org>2014-02-03 13:34:30 -0500
commit00ec6e6af0775cd693e12e56eb6df3cbefe57daa (patch)
treef48f047c14bf4ca4e542255832f056e30e289042 /src/or/routerlist.c
parent881c7c0f7d86af501f7eeb34b021636af85d186f (diff)
downloadtor-00ec6e6af0775cd693e12e56eb6df3cbefe57daa.tar
tor-00ec6e6af0775cd693e12e56eb6df3cbefe57daa.tar.gz
More fixes to rip out all of the v2 directory code.
(This was a squash commit, but I forgot to squash it. Sorry! --Nick)
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 159f3ff0a..164b32d7d 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3682,11 +3682,9 @@ routerlist_remove_old_routers(void)
digestset_add(retain, rs->descriptor_digest));
}
- /* If we have a consensus,
- * we should consider pruning current routers that are too old and that
- * nobody recommends. (If we don't have a consensus or enough v2
- * networkstatuses, then we should get more before we decide to kill
- * routers.) */
+ /* If we have a consensus, we should consider pruning current routers that
+ * are too old and that nobody recommends. (If we don't have a consensus,
+ * then we should get one before we decide to kill routers.) */
if (consensus) {
cutoff = now - ROUTER_MAX_AGE;