[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10408: Verbose output for hunting bug 404. (in tor/branches/tor-0_1_2-patches: . src/or)
Author: nickm
Date: 2007-05-30 01:11:40 -0400 (Wed, 30 May 2007)
New Revision: 10408
Modified:
tor/branches/tor-0_1_2-patches/
tor/branches/tor-0_1_2-patches/src/or/routerlist.c
Log:
r13088@catbus: nickm | 2007-05-30 01:11:38 -0400
Verbose output for hunting bug 404.
Property changes on: tor/branches/tor-0_1_2-patches
___________________________________________________________________
svk:merge ticket from /tor/012 [r13088] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/branches/tor-0_1_2-patches/src/or/routerlist.c
===================================================================
--- tor/branches/tor-0_1_2-patches/src/or/routerlist.c 2007-05-30 05:09:17 UTC (rev 10407)
+++ tor/branches/tor-0_1_2-patches/src/or/routerlist.c 2007-05-30 05:11:40 UTC (rev 10408)
@@ -4547,6 +4547,11 @@
SMARTLIST_FOREACH(rl->routers, routerinfo_t *, r,
{
r2 = digestmap_get(rl->identity_map, r->cache_info.identity_digest);
+ if (r != r2) {
+ log_err(LD_BUG,
+ "fatal error: router at %p did not match router at %p. [%d]",
+ r, r2, r_sl_idx);
+ }
tor_assert(r == r2);
sd2 = digestmap_get(rl->desc_digest_map,
r->cache_info.signed_descriptor_digest);