diff options
author | Omar Polo <op@omarpolo.com> | 2021-07-06 10:56:13 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-07-06 10:56:13 +0000 |
commit | 7700ab07d3a97459e8d294f0ee672d7eaed67b85 (patch) | |
tree | 0ccbed4cf72c5a754251a4dbe5d13aae4db3e896 /log.c | |
parent | 59c7ee13b474c7929914075b01cd3593b1beaca7 (diff) |
fmt
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |