summaryrefslogtreecommitdiffhomepage
path: root/src/log.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-22 13:15:48 +0100
committerMichael Adam <obnox@samba.org>2009-12-23 00:27:32 +0100
commit210e82d08dcb1a8526edaeebe5064e68fc55a2ee (patch)
tree38c71cbcb0bf8c19b991e28632a71da8471e7f99 /src/log.c
parent891846f23e3e10e301743376f073991dac41c13e (diff)
log: call send_stored_logs in setup_logging instead of in main().
This is where it actually belongs. Michael
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 2 insertions, 0 deletions
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: