[master] 8a1448a Mention all the valid units of time on error
Federico G. Schwindt
fgsch at lodoss.net
Sun Feb 16 18:00:45 CET 2014
commit 8a1448ad1e3a3617c8cb44c68472349591df2b42
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sun Feb 16 13:24:36 2014 +0000
Mention all the valid units of time on error
diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
index fab381a..08f91df 100644
--- a/lib/libvcc/vcc_expr.c
+++ b/lib/libvcc/vcc_expr.c
@@ -77,7 +77,7 @@ vcc_TimeUnit(struct vcc *tl)
else {
VSB_printf(tl->sb, "Unknown time unit ");
vcc_ErrToken(tl, tl->t);
- VSB_printf(tl->sb, ". Legal are 's', 'm', 'h' and 'd'\n");
+ VSB_printf(tl->sb, ". Legal are 'ms', 's', 'm', 'h', 'd' and 'w'\n");
vcc_ErrWhere(tl, tl->t);
return (1.0);
}
More information about the varnish-commit
mailing list