aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-11-23 07:28:54 +0000
committerNick Mathewson <nickm@torproject.org>2005-11-23 07:28:54 +0000
commiteb0021b06e9cab9a0f15dfcc4d31356eaa0f0957 (patch)
tree2465b24b6e3b000260067a8cbe9ddccd4f63414b
parent061ef582a11a5bee16d0d111bb3621c09c23ee41 (diff)
downloadtor-eb0021b06e9cab9a0f15dfcc4d31356eaa0f0957.tar
tor-eb0021b06e9cab9a0f15dfcc4d31356eaa0f0957.tar.gz
Fix dumb logic error that kept some old descripttors from getting the axe.
svn:r5446
-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 fb0eca5ba..13297c9ec 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1705,6 +1705,7 @@ routerlist_remove_old_routers(void)
}
if (memcmp(cur_id, r->identity_digest, DIGEST_LEN)) {
routerlist_remove_old_cached_routers_with_id(cutoff, i+1, hi);
+ cur_id = r->identity_digest;
hi = i;
}
}