From 80a281cd6a86e33fd030a265331f59d1366541b2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 26 May 2010 18:31:02 +0100 Subject: [PATCH] notice_processed zeroes the counts --- statemc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/statemc.c b/statemc.c index 27ae861..b995957 100644 --- a/statemc.c +++ b/statemc.c @@ -247,6 +247,10 @@ static void notice_processed(InputFile *ipf, int completed, RESULT_COUNTS(RCI_NOTHING, RCI_TRIPLE_VALS) ); + memset(ipf->counts, 0, sizeof(ipf->counts)); + ipf->readcount_ok= ipf->readcount_blank= + ipf->readcount_err= ipf->count_nooffer_missing= 0; + free(inprog); free(autodefer); -- 2.30.2