Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'jk/maint-advise-vaddf'

The advise() function did not use varargs correctly to format
its message.

* jk/maint-advise-vaddf:
  advice: pass varargs to strbuf_vaddf, not strbuf_addf
  • Loading branch information...
commit 31c4c833d7c39e7fd681d5c0a4809030cbe455f5 2 parents f628825 + 447b99c
@gitster authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  advice.c
View
2  advice.c
@@ -32,7 +32,7 @@ void advise(const char *advice, ...)
const char *cp, *np;
va_start(params, advice);
- strbuf_addf(&buf, advice, params);
+ strbuf_vaddf(&buf, advice, params);
va_end(params);
for (cp = buf.buf; *cp; cp = np) {
Please sign in to comment.
Something went wrong with that request. Please try again.