From 0a706880160167f872247723c6a041eb31a20c29 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 10 Oct 2012 13:41:52 +0200 Subject: [PATCH] BUG/MINOR: halog: -ad/-ac report the correct number of output lines There was a lines_out++ left from earlier code, causing each input line to be counted as an output line. This fix also affects 1.4 and should be backported. --- contrib/halog/halog.c | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/halog/halog.c b/contrib/halog/halog.c index 885b10d80..50380f044 100644 --- a/contrib/halog/halog.c +++ b/contrib/halog/halog.c @@ -1121,7 +1121,6 @@ void filter_accept_holes(const char *accept_field, const char *time_field, struc t2 = insert_value(&timers[0], tptr, val); t2->count++; - lines_out++; return; }