Commit 2e7f80d5 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

pubsub_check.c: Stop accepting NULL prefix, which we never send.

(Our code to handle it was broken, too)
parent c40bcab8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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]",