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 2009-12-22 13:15:48 +01:00
parent 891846f23e
commit 210e82d08d
2 changed files with 2 additions and 1 deletions

View File

@ -279,6 +279,8 @@ int setup_logging (void)
}
logging_initialized = TRUE;
send_stored_logs ();
ret = 0;
done:

View File

@ -364,7 +364,6 @@ main (int argc, char **argv)
}
processed_config_file = TRUE;
send_stored_logs ();
init_stats ();