libwinpr-utils: flush file after each write in wlog
This commit is contained in:
parent
38c77eb57c
commit
4460a1a7cf
@ -127,9 +127,7 @@ int WLog_FileAppender_WriteMessage(wLog* log, wLogFileAppender* appender, wLogMe
|
||||
|
||||
fprintf(fp, "%s%s\n", message->PrefixString, message->TextString);
|
||||
|
||||
#ifdef _WIN32
|
||||
fflush(fp); /* slow! */
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user