Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
advice: pass varargs to strbuf_vaddf, not strbuf_addf
[gitweb.git]
/
advice.c
diff --git
a/advice.c
b/advice.c
index 65a07859f261e12e88d638a1f4546583e0133d4c..961a4f5e4156dbf675f039f93eb369bb6b0cfa7a 100644
(file)
--- a/
advice.c
+++ b/
advice.c
@@
-26,7
+26,7
@@
void advise(const char *advice, ...)
const char *cp, *np;
va_start(params, advice);
- strbuf_addf(&buf, advice, params);
+ strbuf_
v
addf(&buf, advice, params);
va_end(params);
for (cp = buf.buf; *cp; cp = np) {