Mailing List Archive

r3249 - trunk/varnish-cache/lib/libvcl
Author: phk
Date: 2008-10-05 22:09:40 +0200 (Sun, 05 Oct 2008)
New Revision: 3249

Modified:
trunk/varnish-cache/lib/libvcl/vcc_parse.c
Log:
Make an error message slightly less confusing.



Modified: trunk/varnish-cache/lib/libvcl/vcc_parse.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_parse.c 2008-10-05 10:40:46 UTC (rev 3248)
+++ trunk/varnish-cache/lib/libvcl/vcc_parse.c 2008-10-05 20:09:40 UTC (rev 3249)
@@ -306,7 +306,7 @@
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);