r2893 - trunk/varnish-cache/bin/varnishtest

phk at projects.linpro.no phk at projects.linpro.no
Mon Jul 7 23:22:20 CEST 2008


Author: phk
Date: 2008-07-07 23:22:20 +0200 (Mon, 07 Jul 2008)
New Revision: 2893

Modified:
   trunk/varnish-cache/bin/varnishtest/vtc_log.c
Log:
Nitpicking



Modified: trunk/varnish-cache/bin/varnishtest/vtc_log.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_log.c	2008-07-07 21:22:06 UTC (rev 2892)
+++ trunk/varnish-cache/bin/varnishtest/vtc_log.c	2008-07-07 21:22:20 UTC (rev 2893)
@@ -114,7 +114,7 @@
 		vsb_printf(vl->vsb, "%s %-4s %s(null)\n",
 		    lead[lvl], vl->id, pfx);
 	else
-		for(; *str; str++) {
+		for(; *str != '\0'; str++) {
 			if (nl) {
 				vsb_printf(vl->vsb, "%s %-4s %s| ",
 				    lead[lvl], vl->id, pfx);




More information about the varnish-commit mailing list