]> err.no Git - varnish/commitdiff
Nitpicking
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Jul 2008 21:22:20 +0000 (21:22 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Jul 2008 21:22:20 +0000 (21:22 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2893 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/vtc_log.c

index c352d3ac786905ed5c4c785e1df524a80b420e9f..089a58656bf3842be12f763ee170bb733a4b6995 100644 (file)
@@ -114,7 +114,7 @@ vtc_dump(struct vtclog *vl, unsigned lvl, const char *pfx, const char *str)
                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);