Skip to content
Snippets Groups Projects
Commit f694ab23 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Flush after fputs

svn:r526
parent e6f8b3ba
No related branches found
No related tags found
No related merge requests found
...@@ -93,6 +93,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap) ...@@ -93,6 +93,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap)
formatted = 1; formatted = 1;
} }
fputs(buf, lf->file); fputs(buf, lf->file);
fflush(lf->file);
/* XXX check for EOF */ /* XXX check for EOF */
} }
} }
......
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