]> err.no Git - varnish/commitdiff
Make an error message slightly less confusing.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 5 Oct 2008 20:09:40 +0000 (20:09 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 5 Oct 2008 20:09:40 +0000 (20:09 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3249 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_parse.c

index 3bfc4797a7cfa6cb3664d2b1a6ea64ee0fddae47..cc5cb32a0bf736c4d65048ca933899b300e3654c 100644 (file)
@@ -306,7 +306,7 @@ Cond_Int(const struct var *vp, struct tokenlist *tl)
        default:
                vsb_printf(tl->sb, "Invalid condition ");
                vcc_ErrToken(tl, tl->t);
-               vsb_printf(tl->sb, " on integer variable\n");
+               vsb_printf(tl->sb, " on numeric variable\n");
                vsb_printf(tl->sb,
                    "  only '==', '!=', '<', '>', '<=' and '>=' are legal\n");
                vcc_ErrWhere(tl, tl->t);