diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2010-11-19 13:23:45 -0800 |
---|---|---|
committer | Robert Ransom <rransom.8774@gmail.com> | 2010-11-19 13:23:45 -0800 |
commit | 69472ca4210183ec11a632abd952b6060a086258 (patch) | |
tree | e67c99a9b89b817e53070d208ad06aa24b358e6e /src/or | |
parent | 780b8f4287432c51e822b72952f097a1dbb5e0d2 (diff) | |
download | tor-69472ca4210183ec11a632abd952b6060a086258.tar.gz tor-69472ca4210183ec11a632abd952b6060a086258.zip |
Fix logic error in router_dump_router_to_string.
Spotted by Nick Mathewson.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 17c20eddfd..e82945e64c 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1805,7 +1805,7 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router, } has_extra_info_digest = - tor_digest_is_zero(router->cache_info.extra_info_digest); + ! tor_digest_is_zero(router->cache_info.extra_info_digest); if (has_extra_info_digest) { base16_encode(extra_info_digest, sizeof(extra_info_digest), |