From: Joel Rosdahl Date: Sun, 7 Oct 2018 18:50:37 +0000 (+0200) Subject: Fix debug mode bug in cc_log_argv X-Git-Tag: v3.5~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4cf32a58813ee330958641d74aa2088e5cc36fe;p=thirdparty%2Fccache.git Fix debug mode bug in cc_log_argv --- diff --git a/src/util.c b/src/util.c index 6b87b9437..51c585781 100644 --- a/src/util.c +++ b/src/util.c @@ -207,6 +207,7 @@ cc_log_argv(const char *prefix, char **argv) } } if (logbuffer) { + append_log(prefix, strlen(prefix)); char *s = format_command(argv); append_log(s, strlen(s)); free(s);