Skip to content
Snippets Groups Projects
Commit 07992b90 authored by Dickinson Reed's avatar Dickinson Reed
Browse files

Also fflush in printer::print_str() if configured to do so

parent 31a07841
No related branches found
No related tags found
No related merge requests found
......@@ -211,6 +211,11 @@ void printer::print_str(const char* str)
std::unique_lock<std::mutex> lck(print_mutex);
fputs(str, stdout);
if (b_flush_stdout)
{
fflush(stdout);
}
if(logfile != nullptr)
{
fputs(str, logfile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment