浏览代码

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

svn:r5446
Nick Mathewson 20 年之前
父节点
当前提交
eb0021b06e
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
     }
   }