From c07cd2e44e40196fe810812cfda352fd56c991df Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 23 Dec 2009 00:30:11 +0100 Subject: Use shutdown_logging() in main(). Michael --- src/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index cdc6eb0..2f2edab 100644 --- a/src/main.c +++ b/src/main.c @@ -462,10 +462,7 @@ main (int argc, char **argv) filter_destroy (); #endif /* FILTER_ENABLE */ - if (config.syslog) - closelog (); - else - close_log_file (); + shutdown_logging (); return EXIT_SUCCESS; } -- cgit v1.2.3