[4.0] e81ee6e Permit to compare 2 times using standard operators
Lasse Karstensen
lkarsten at varnish-software.com
Thu Jan 15 16:35:43 CET 2015
commit e81ee6e6f1e8ac199c34e48ff77e9a25dcabfca2
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Wed Dec 10 20:34:07 2014 +0000
Permit to compare 2 times using standard operators
Useful with upcoming std function.
diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
index c9da0b7..f18b39c 100644
--- a/lib/libvcc/vcc_expr.c
+++ b/lib/libvcc/vcc_expr.c
@@ -991,6 +991,7 @@ static const struct cmps {
NUM_REL(DURATION),
NUM_REL(BYTES),
NUM_REL(REAL),
+ NUM_REL(TIME),
{STRING, T_EQ, "!VRT_strcmp(\v1, \v2)" },
{STRING, T_NEQ, "VRT_strcmp(\v1, \v2)" },
More information about the varnish-commit
mailing list