ソースを参照

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)) {
     if (memcmp(cur_id, r->identity_digest, DIGEST_LEN)) {
       routerlist_remove_old_cached_routers_with_id(cutoff, i+1, hi);
       routerlist_remove_old_cached_routers_with_id(cutoff, i+1, hi);
+      cur_id = r->identity_digest;
       hi = i;
       hi = i;
     }
     }
   }
   }