commit | 0a706880160167f872247723c6a041eb31a20c29 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 10 13:41:52 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Oct 10 13:43:17 2012 +0200 |
tree | 80b74fa0e9367487a6ef64ffc4417af42ef1fce9 | |
parent | 8a09b663a829f7012c50743adaf3d29cc81700c5 [diff] |
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.
diff --git a/contrib/halog/halog.c b/contrib/halog/halog.c index 885b10d..50380f0 100644 --- a/contrib/halog/halog.c +++ b/contrib/halog/halog.c
@@ -1121,7 +1121,6 @@ t2 = insert_value(&timers[0], tptr, val); t2->count++; - lines_out++; return; }