Browse Source

Fix dumb logic error that kept some old descripttors from getting the axe.

svn:r5446
Nick Mathewson 20 years ago
parent
commit
eb0021b06e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/routerlist.c

+ 1 - 0
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;
     }
   }