mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
When warning about a networkstatus fp, we need to put it in hex.
svn:r5293
This commit is contained in:
parent
37708e9b1b
commit
7f20dec1cd
1 changed files with 3 additions and 1 deletions
|
@ -1349,7 +1349,9 @@ dirserv_get_networkstatus_v2(smartlist_t *result,
|
||||||
if (cached) {
|
if (cached) {
|
||||||
smartlist_add(result, cached);
|
smartlist_add(result, cached);
|
||||||
} else {
|
} 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);
|
tor_free(cp);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue