diff options
author | Michael Adam <obnox@samba.org> | 2009-12-22 13:15:48 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-23 00:27:32 +0100 |
commit | 210e82d08dcb1a8526edaeebe5064e68fc55a2ee (patch) | |
tree | 38c71cbcb0bf8c19b991e28632a71da8471e7f99 | |
parent | 891846f23e3e10e301743376f073991dac41c13e (diff) | |
download | tinyproxy-210e82d08dcb1a8526edaeebe5064e68fc55a2ee.tar.gz tinyproxy-210e82d08dcb1a8526edaeebe5064e68fc55a2ee.zip |
log: call send_stored_logs in setup_logging instead of in main().
This is where it actually belongs.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/log.c | 2 | ||||
-rw-r--r-- | src/main.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -279,6 +279,8 @@ int setup_logging (void) } logging_initialized = TRUE; + send_stored_logs (); + ret = 0; done: @@ -364,7 +364,6 @@ main (int argc, char **argv) } processed_config_file = TRUE; - send_stored_logs (); init_stats (); |