mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Don't write extra-info document to debug logs.
This commit is contained in:
parent
52b17b6ad7
commit
6592cbe3e1
@ -1990,9 +1990,6 @@ extrainfo_dump_to_string(char *s, size_t maxlen, extrainfo_t *extrainfo,
|
|||||||
"We just generated an extrainfo descriptor we can't parse.");
|
"We just generated an extrainfo descriptor we can't parse.");
|
||||||
log_err(LD_BUG, "Descriptor was: <<%s>>", s);
|
log_err(LD_BUG, "Descriptor was: <<%s>>", s);
|
||||||
return -1;
|
return -1;
|
||||||
} else {
|
|
||||||
log_debug(LD_GENERAL, "We generated an extra-info descriptor:\n%s",
|
|
||||||
s);
|
|
||||||
}
|
}
|
||||||
tor_free(s_dup);
|
tor_free(s_dup);
|
||||||
extrainfo_free(ei_tmp);
|
extrainfo_free(ei_tmp);
|
||||||
|
Loading…
Reference in New Issue
Block a user