From e5633c2e669423db4d9b993dfdf23cc26281d7e9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 25 Oct 2005 18:33:33 +0000 Subject: fix a nasty corruption bug svn:r5319 --- src/or/dirserv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 15244a8f0..f8802e850 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1346,8 +1346,7 @@ dirserv_get_networkstatus_v2(smartlist_t *result, SMARTLIST_FOREACH(digests, char *, cp, { cached_dir_t *cached; - tor_strupper(cp); - if (router_fingerprint_is_me(cp) && + if (router_digest_is_me(cp) && get_options()->AuthoritativeDir && the_v2_networkstatus_is_dirty && the_v2_networkstatus_is_dirty + DIR_REGEN_SLACK_TIME < time(NULL)) -- cgit v1.2.3