diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-30 05:11:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-30 05:11:40 +0000 |
commit | 39d52ec93a0dcfe86d0cc75d4ac4e8fd0a4a6928 (patch) | |
tree | cb7488de7d8bf76c93b15fa1ec053bfbda8f9a86 /src/or/routerlist.c | |
parent | 49b1ea5e5bbfd9507a866f81933eb5c83169a7bd (diff) | |
download | tor-39d52ec93a0dcfe86d0cc75d4ac4e8fd0a4a6928.tar.gz tor-39d52ec93a0dcfe86d0cc75d4ac4e8fd0a4a6928.zip |
r13088@catbus: nickm | 2007-05-30 01:11:38 -0400
Verbose output for hunting bug 404.
svn:r10408
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index a3228a3517..9c25851737 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4547,6 +4547,11 @@ routerlist_assert_ok(routerlist_t *rl) 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); |