[master] 78b51e3 Fix a mistake I made yesterday which truncated multiline vtc_dump()

Poul-Henning Kamp phk at FreeBSD.org
Thu Jan 19 13:56:04 CET 2017


commit 78b51e3fa5595a423f0ab272dd66661a18ee3a2c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Jan 19 09:39:32 2017 +0000

    Fix a mistake I made yesterday which truncated multiline vtc_dump()

diff --git a/bin/varnishtest/vtc_log.c b/bin/varnishtest/vtc_log.c
index b415302..5ef0813 100644
--- a/bin/varnishtest/vtc_log.c
+++ b/bin/varnishtest/vtc_log.c
@@ -117,7 +117,6 @@ vtc_leadinv(const struct vtclog *vl, int lvl, const char *fmt, va_list ap)
 
 	assert(lvl < (int)NLEAD);
 	assert(lvl >= 0);
-	VSB_clear(vl->vsb);
 	VSB_printf(vl->vsb, "%s %-4s %4.1f ",
 	    lead[lvl < 0 ? 1: lvl], vl->id, vl->tx);
 	if (fmt != NULL)



More information about the varnish-commit mailing list