X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=statemc.c;h=5adecf95997cd79df2ea2dd3d4eb5746b7274547;hb=12629a26c20d3c5c00b4f71f5c73c304031a303b;hp=b995957cdebdb4fd0529845fffea87d9dbe96c83;hpb=80a281cd6a86e33fd030a265331f59d1366541b2;p=innduct.git diff --git a/statemc.c b/statemc.c index b995957..5adecf9 100644 --- a/statemc.c +++ b/statemc.c @@ -481,11 +481,16 @@ void spawn_inndcomm_flush(const char *why) { /* Moved => Flushing */ void preterminate(void) { if (in_child) return; + showstats(); +} + +void showstats(void) { notice_processed(main_input_file,0,"feedfile",""); notice_processed(flushing_input_file,0,"flushing",""); if (backlog_input_file) notice_processed(backlog_input_file,0, "backlog file ", backlog_input_file->path); + until_stats_log= stats_log_periods; } static int signal_self_pipe[2];