[master] e8d8934 Fix logic in frag_fields
Martin Blix Grydeland
martin at varnish-software.com
Mon Jan 26 10:40:42 CET 2015
commit e8d89346031864ab3221bccd9538f711a134bd04
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Mon Jan 26 10:40:39 2015 +0100
Fix logic in frag_fields
diff --git a/bin/varnishncsa/varnishncsa.c b/bin/varnishncsa/varnishncsa.c
index 69e4129..f6f9bc8 100644
--- a/bin/varnishncsa/varnishncsa.c
+++ b/bin/varnishncsa/varnishncsa.c
@@ -726,7 +726,7 @@ frag_fields(int force, const char *b, const char *e, ...)
q++;
if (field == n) {
- if (frag->gen != CTX.gen || !force) {
+ if (frag->gen != CTX.gen || force) {
/* We only grab the same matching field once */
frag->gen = CTX.gen;
frag->b = p;
More information about the varnish-commit
mailing list