log: call send_stored_logs in setup_logging instead of in main().

This is where it actually belongs.

Michael
This commit is contained in:
Michael Adam committed 2009-12-23 00:27:32 +01:00
1 parent 891846f23e
commit 210e82d08d
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -279,6 +279,8 @@ int setup_logging (void)
}
logging_initialized = TRUE;
send_stored_logs ();
ret = 0;
done:
-1
View File
@@ -364,7 +364,6 @@ main (int argc, char **argv)
}
processed_config_file = TRUE;
send_stored_logs ();
init_stats ();