r830 - trunk/varnish-cache/bin/varnishlog

phk at projects.linpro.no phk at projects.linpro.no
Fri Aug 18 20:16:53 CEST 2006


Author: phk
Date: 2006-08-18 20:16:53 +0200 (Fri, 18 Aug 2006)
New Revision: 830

Modified:
   trunk/varnish-cache/bin/varnishlog/varnishlog.c
Log:
Remember to clear match bit


Modified: trunk/varnish-cache/bin/varnishlog/varnishlog.c
===================================================================
--- trunk/varnish-cache/bin/varnishlog/varnishlog.c	2006-08-18 18:14:10 UTC (rev 829)
+++ trunk/varnish-cache/bin/varnishlog/varnishlog.c	2006-08-18 18:16:53 UTC (rev 830)
@@ -118,6 +118,7 @@
 		if (vsb_len(ob[fd]) > 1 &&
 		    (match_tag == -1 || flg[fd] & F_MATCH))
 			printf("%s\n", vsb_data(ob[fd]));
+		flg[fd] &= ~F_MATCH;
 		vsb_clear(ob[fd]);
 		break;
 	default:




More information about the varnish-commit mailing list