r4502 - trunk/varnish-cache/bin/varnishtest

phk at projects.linpro.no phk at projects.linpro.no
Thu Jan 28 10:34:05 CET 2010


Author: phk
Date: 2010-01-28 10:34:05 +0100 (Thu, 28 Jan 2010)
New Revision: 4502

Modified:
   trunk/varnish-cache/bin/varnishtest/vtc_client.c
Log:
Don't pointlessly announce that the default #iterations s 1



Modified: trunk/varnish-cache/bin/varnishtest/vtc_client.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_client.c	2010-01-28 09:33:16 UTC (rev 4501)
+++ trunk/varnish-cache/bin/varnishtest/vtc_client.c	2010-01-28 09:34:05 UTC (rev 4502)
@@ -93,7 +93,8 @@
 
 	if (c->repeat == 0)
 		c->repeat = 1;
-	vtc_log(vl, 2, "Started (%u iterations)", c->repeat);
+	if (c->repeat != 1)
+		vtc_log(vl, 2, "Started (%u iterations)", c->repeat);
 	for (u = 0; u < c->repeat; u++) {
 		vtc_log(vl, 3, "Connect to %s", vsb_data(vsb));
 		fd = VSS_open(vsb_data(vsb));



More information about the varnish-commit mailing list