[master] 9a5bb77 Use the right variable
Federico G. Schwindt
fgsch at lodoss.net
Fri Jan 22 13:37:03 CET 2016
commit 9a5bb779a2db0a4cffd96a31483348572f97e96d
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Fri Jan 22 12:35:16 2016 +0000
Use the right variable
Fixes previous commit. Sigh.
diff --git a/lib/libvarnishapi/vsl_query.c b/lib/libvarnishapi/vsl_query.c
index 60cc54d..1741c13 100644
--- a/lib/libvarnishapi/vsl_query.c
+++ b/lib/libvarnishapi/vsl_query.c
@@ -148,7 +148,7 @@ vslq_test_rec(const struct vex *vex, const struct VSLC_ptr *rec)
lhs_float = VNUMpfx(b, &q);
if (isnan(lhs_float))
return (0);
- if (q != NULL && q > p && !isspace(q[-1]))
+ if (q != NULL && q > b && !isspace(q[-1]))
return (0);
break;
default:
More information about the varnish-commit
mailing list