Commit Diff


commit - c52410ac251198451c28ab1cab62af7262f021b3
commit + 18443075fbc9f63d791815ffba20656bbe9f102e
blob - 937997d03531bd7d675eb2d853f12869d3f7f877
blob + 1016ca910a5e4c6eab23d88760c077b08503d5ac
--- src/libhttpd/hio.c
+++ src/libhttpd/hio.c
@@ -375,8 +375,7 @@ hvprint(Hio *h, char *fmt, va_list args)
 	f.flush = fmthflush;
 	f.farg = h;
 	f.nfmt = 0;
-	f.args = args;
-	n = dofmt(&f, fmt);
+	n = fmtvprint(&f, fmt, args);
 	h->pos = f.to;
 	return n;
 }