소스 검색

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;
     }
   }