]> err.no Git - varnish/commitdiff
format_time, not format_string vcl_format_time_string
authorTollef Fog Heen <tfheen@err.no>
Wed, 19 Nov 2008 16:14:58 +0000 (17:14 +0100)
committerTollef Fog Heen <tfheen@err.no>
Wed, 19 Nov 2008 16:14:58 +0000 (17:14 +0100)
varnish-cache/lib/libvcl/vcc_string.c

index ca5bbbea4f20a9752395bad5ebc694b0b60583d1..b4fded81b7ecda6b7e23dec452a1d47ea0c23bd8 100644 (file)
@@ -147,7 +147,7 @@ vcc_StringVal(struct tokenlist *tl)
                vcc_NextToken(tl);
                return (1);
        }
-       if (tl->t->tok == ID && vcc_IdIs(tl->t, "format_string")) {
+       if (tl->t->tok == ID && vcc_IdIs(tl->t, "format_time")) {
                parse_format_time(tl);
                return (1);
        }