mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +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
|
||||
pubsub_cfg_dump(const pubsub_cfg_t *cfg, int severity, const char *prefix)
|
||||
{
|
||||
if (!prefix)
|
||||
prefix = 0;
|
||||
tor_assert(prefix);
|
||||
|
||||
tor_log(severity, LD_MESG,
|
||||
"%s%s %s: %s{%s} on %s (%s) <%u %u %u %u %x> [%s:%d]",
|
||||
|
|
Loading…
Add table
Reference in a new issue