mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 07:31:33 +01:00
pubsub_check.c: Stop accepting NULL prefix, which we never send.
(Our code to handle it was broken, too)
This commit is contained in:
parent
c40bcab85d
commit
2e7f80d5f4
1 changed files with 1 additions and 2 deletions
|
@ -155,8 +155,7 @@ format_flags(unsigned flags)
|
||||||
static void
|
static void
|
||||||
pubsub_cfg_dump(const pubsub_cfg_t *cfg, int severity, const char *prefix)
|
pubsub_cfg_dump(const pubsub_cfg_t *cfg, int severity, const char *prefix)
|
||||||
{
|
{
|
||||||
if (!prefix)
|
tor_assert(prefix);
|
||||||
prefix = 0;
|
|
||||||
|
|
||||||
tor_log(severity, LD_MESG,
|
tor_log(severity, LD_MESG,
|
||||||
"%s%s %s: %s{%s} on %s (%s) <%u %u %u %u %x> [%s:%d]",
|
"%s%s %s: %s{%s} on %s (%s) <%u %u %u %u %x> [%s:%d]",
|
||||||
|
|
Loading…
Add table
Reference in a new issue