diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-08-14 18:01:20 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-08-14 18:01:20 +0000 |
commit | e8de3ff54d043407c490c538dc75f1566c478bff (patch) | |
tree | 3785c3c71db98c7a695a9f761d62ec84bc539204 /src/or/dirserv.c | |
parent | fdba26f21329acd97f16aac91dcf3014f29de3f6 (diff) | |
download | tor-e8de3ff54d043407c490c538dc75f1566c478bff.tar.gz tor-e8de3ff54d043407c490c538dc75f1566c478bff.zip |
If we are lucky the whitespace nazis will not have noticed these things yet
svn:r16549
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 2186bf4fdd..3cc2c3718c 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1948,15 +1948,17 @@ routerstatus_format_entry(char *buf, size_t buf_len, id, dd); return -1; }; - if(memcmp(desc->cache_info.signed_descriptor_digest, - rs->descriptor_digest, - DIGEST_LEN)) { + if (memcmp(desc->cache_info.signed_descriptor_digest, + rs->descriptor_digest, + DIGEST_LEN)) { char rl_d[HEX_DIGEST_LEN+1]; char rs_d[HEX_DIGEST_LEN+1]; - base16_encode(rl_d, sizeof(rl_d), desc->cache_info.signed_descriptor_digest, DIGEST_LEN); + 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); - log_err(LD_BUG, "descriptor digest in routerlist does not match the one in routerstatus: %s vs %s\n", + log_err(LD_BUG, "descriptor digest in routerlist does not match " + "the one in routerstatus: %s vs %s\n", rl_d, rs_d); tor_assert(!memcmp(desc->cache_info.signed_descriptor_digest, |