From 210e82d08dcb1a8526edaeebe5064e68fc55a2ee Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 22 Dec 2009 13:15:48 +0100 Subject: log: call send_stored_logs in setup_logging instead of in main(). This is where it actually belongs. Michael --- src/log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/log.c') diff --git a/src/log.c b/src/log.c index 066dff2..61ca9f8 100644 --- a/src/log.c +++ b/src/log.c @@ -279,6 +279,8 @@ int setup_logging (void) } logging_initialized = TRUE; + send_stored_logs (); + ret = 0; done: -- cgit v1.2.3