Use unbuffered output

This commit is contained in:
David FORT 2015-10-30 20:20:42 +01:00
parent 9ea301983d
commit 89156e53b7

View File

@ -150,6 +150,7 @@ wLogJournaldAppender* WLog_JournaldAppender_New(wLog* log)
appender->stream = fdopen(fd, "w");
if (!appender->stream)
goto error_stream_open;
setbuffer(appender->stream, NULL, 0);
return appender;
error_stream_open: