[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix a nasty corruption bug
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv6896/src/or
Modified Files:
dirserv.c
Log Message:
fix a nasty corruption bug
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.260
retrieving revision 1.261
diff -u -d -r1.260 -r1.261
--- dirserv.c 25 Oct 2005 18:01:01 -0000 1.260
+++ dirserv.c 25 Oct 2005 18:33:33 -0000 1.261
@@ -1346,8 +1346,7 @@
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))