Don't write extra-info document to debug logs.

This commit is contained in:
Karsten Loesing 2009-08-19 17:15:51 +02:00
parent 52b17b6ad7
commit 6592cbe3e1

View File

@ -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);