log: removed warning buffer

The warning buffer is a complex piece of code for no good reason.
Remove it and find a better solution, e.g. open the log file earlier.
This commit is contained in:
Max Kellermann
2008-11-05 18:37:40 +01:00
parent b35ca9e5c4
commit 08aaf57ff0
3 changed files with 2 additions and 79 deletions

View File

@@ -277,7 +277,6 @@ static void openDB(Options * options, char *argv0)
"\"--no-create-db\" command line option\n"
"try running \"%s --create-db\"\n", argv0);
}
flushWarningLog();
if (db_check() < 0)
exit(EXIT_FAILURE);
db_init();