diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-24 03:25:12 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-24 03:25:12 +0000 |
commit | 7f20dec1cdbc62a32ca852c7e4cff0d019f3ef6b (patch) | |
tree | e224d679e8059518a1c0e2f838b799d4e7ca8032 /src/or | |
parent | 37708e9b1b619234822628fd77486fe02b58bce7 (diff) | |
download | tor-7f20dec1cdbc62a32ca852c7e4cff0d019f3ef6b.tar tor-7f20dec1cdbc62a32ca852c7e4cff0d019f3ef6b.tar.gz |
When warning about a networkstatus fp, we need to put it in hex.
svn:r5293
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 56ca8d955..077f06b10 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1349,7 +1349,9 @@ dirserv_get_networkstatus_v2(smartlist_t *result, if (cached) { smartlist_add(result, cached); } else { - log_fn(LOG_INFO, "Don't know about any network status with fingerprint '%s'", cp); + char hexbuf[HEX_DIGEST_LEN+1]; + base16_encode(hexbuf, sizeof(hexbuf), cp, DIGEST_LEN); + log_fn(LOG_INFO, "Don't know about any network status with fingerprint '%s'", hexbuf); } tor_free(cp); }); |