r4541 - trunk/varnish-cache/bin/varnishtest

phk at projects.linpro.no phk at projects.linpro.no
Wed Feb 10 11:15:38 CET 2010


Author: phk
Date: 2010-02-10 11:15:38 +0100 (Wed, 10 Feb 2010)
New Revision: 4541

Modified:
   trunk/varnish-cache/bin/varnishtest/vtc_log.c
Log:
Off-by-one bug prevented the actual failure from being displayed if -v options
given.



Modified: trunk/varnish-cache/bin/varnishtest/vtc_log.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_log.c	2010-02-08 20:52:09 UTC (rev 4540)
+++ trunk/varnish-cache/bin/varnishtest/vtc_log.c	2010-02-10 10:15:38 UTC (rev 4541)
@@ -127,7 +127,7 @@
 	vsb_cat(vtclog_full, vsb_data(vl->vsb));
 	AZ(pthread_mutex_unlock(&vtclog_mtx));
 
-	if (lvl > 0 && lvl <= vtc_verbosity)
+	if (lvl <= vtc_verbosity)
 		(void)fputs(vsb_data(vl->vsb), stdout);
 }
 



More information about the varnish-commit mailing list