refactor(log): use msg_schedule_semsg #18950

This commit is contained in:
Justin M. Keyes
2022-06-16 02:23:13 +02:00
committed by GitHub
parent 4cc05a75ea
commit fa4b0c3ba5
2 changed files with 2 additions and 12 deletions

View File

@@ -853,7 +853,7 @@ void msg_schedule_semsg(const char *const fmt, ...)
va_end(ap);
char *s = xstrdup((char *)IObuff);
multiqueue_put(main_loop.events, msg_semsg_event, 1, s);
loop_schedule_deferred(&main_loop, event_create(msg_semsg_event, 1, s));
}
/// Like msg(), but truncate to a single line if p_shm contains 't', or when