[4.0] 476c8fd Remove useless call to VSL_Match

Martin Blix Grydeland martin at varnish-software.com
Thu Mar 13 10:24:28 CET 2014


commit 476c8fd7bac32486d85a1e395bea77647cd86b10
Author: Guillaume Quintard <guillaume.quintard at gmail.com>
Date:   Thu Feb 6 17:18:31 2014 +0100

    Remove useless call to VSL_Match

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index ec30da5..0824b48 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -199,8 +199,6 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
 		value = -1;
 		hit = 0;
 		while ((1 == VSL_Next(tr->c))) {
-			if (!VSL_Match(vsl, tr->c))
-				continue;
 			/* get the value we want, and register if it's a hit*/
 			tag = VSL_TAG(tr->c->rec.ptr);
 			assert(match_tag >= 0);



More information about the varnish-commit mailing list