diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-08-17 08:14:57 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-08-17 08:14:57 +0000 |
commit | d3be2cb7fb47629cbe3e4b1cce9b091b3c1d4e86 (patch) | |
tree | cbca493bd023b8f78aa6e51a26360c6ced7a8b63 /src | |
parent | ab9078fca0043995154fde7d887502657538d958 (diff) | |
download | tor-d3be2cb7fb47629cbe3e4b1cce9b091b3c1d4e86.tar.gz tor-d3be2cb7fb47629cbe3e4b1cce9b091b3c1d4e86.zip |
And tell us more in another error case
svn:r16577
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dirserv.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index ff40da8f46..c8c2bbe4a5 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1954,13 +1954,16 @@ routerstatus_format_entry(char *buf, size_t buf_len, DIGEST_LEN)) { char rl_d[HEX_DIGEST_LEN+1]; char rs_d[HEX_DIGEST_LEN+1]; + char id[HEX_DIGEST_LEN+1]; base16_encode(rl_d, sizeof(rl_d), desc->cache_info.signed_descriptor_digest, DIGEST_LEN); base16_encode(rs_d, sizeof(rs_d), rs->descriptor_digest, DIGEST_LEN); + base16_encode(id, sizeof(id), rs->identity_digest, DIGEST_LEN); log_err(LD_BUG, "descriptor digest in routerlist does not match " - "the one in routerstatus: %s vs %s\n", - rl_d, rs_d); + "the one in routerstatus: %s vs %s " + "(router %s)\n", + rl_d, rs_d, id); tor_assert(!memcmp(desc->cache_info.signed_descriptor_digest, rs->descriptor_digest, |