From: Ian Jackson Date: Sat, 29 May 2010 17:16:12 +0000 (+0100) Subject: fix zero overwrite X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=innduct.git;a=commitdiff_plain;h=ee2469ff17e79b9e3308b51701cb282fdd289f95 fix zero overwrite --- diff --git a/statemc.c b/statemc.c index dea31a9..dda412d 100644 --- a/statemc.c +++ b/statemc.c @@ -251,7 +251,7 @@ static void notice_processed_counts(Counts *counts, int completed, RESULT_COUNTS(RCI_NOTHING, RCI_TRIPLE_VALS) ); - memset(&counts, 0, sizeof(*counts)); + memset(counts, 0, sizeof(*counts)); free(inprog); free(autodefer);