This commit is contained in:
Omar Polo 2021-07-06 10:56:13 +00:00
parent 59c7ee13b4
commit 7700ab07d3
1 changed files with 1 additions and 1 deletions

2
log.c
View File

@ -131,7 +131,7 @@ vlog(int priority, struct client *c,
if (vasprintf(&fmted, fmt, ap) == -1)
fatal("vasprintf: %s", strerror(errno));
if (c == NULL)
if (c == NULL)
ec = asprintf(&s, "internal: %s", fmted);
else
ec = asprintf(&s, "%s:%s %s", hbuf, sbuf, fmted);