From a7cec817806de3855e42bc1a81f60fd4154b8cf2 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Fri, 11 Jan 2008 01:17:01 +0000 Subject: fix buffer flush before exiting --- src/stats-mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/stats-mode.c b/src/stats-mode.c index ee9b3fd..20efc95 100644 --- a/src/stats-mode.c +++ b/src/stats-mode.c @@ -62,7 +62,7 @@ static void kill_stats() cache_destroy(STATE_STATS(cache)); /* flush the buffer before exiting */ if (STATE(stats_log) != NULL) - buffer_flush(STATE(stats_log), + buffer_flush(STATE_STATS(buffer_log), dlog_buffered_ct_flush, STATE(stats_log)); } -- cgit v1.2.3