aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-25 18:33:33 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-25 18:33:33 +0000
commite5633c2e669423db4d9b993dfdf23cc26281d7e9 (patch)
tree9d713cde390eb3c3ca59444b3461ebb0bb0d7fb2
parent35f1b7fa26b57b6f1e72eaf6d4cdc0ed2fc7e53e (diff)
downloadtor-e5633c2e669423db4d9b993dfdf23cc26281d7e9.tar
tor-e5633c2e669423db4d9b993dfdf23cc26281d7e9.tar.gz
fix a nasty corruption bug
svn:r5319
-rw-r--r--src/or/dirserv.c3
1 files changed, 1 insertions, 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))