Don't use log before initialization
The print_log_n_stderr function used to implicitly initialize the log manager. As this is no longer done, no logging must be done before the log manager is initialized.
This commit is contained in:
parent
742ebd0437
commit
c92aa02961
@ -2965,7 +2965,7 @@ static bool sniff_configuration(const char* filepath)
|
||||
snprintf(errorbuffer, sizeof(errorbuffer), FORMAT_MALLOC, filepath);
|
||||
}
|
||||
|
||||
print_log_n_stderr(true, true, errorbuffer, errorbuffer, 0);
|
||||
print_log_n_stderr(false, true, errorbuffer, errorbuffer, 0);
|
||||
}
|
||||
|
||||
return rv == 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user