Flush after fputs

svn:r526
This commit is contained in:
Nick Mathewson 2003-10-01 00:42:24 +00:00
parent e6f8b3ba38
commit f694ab23f5

View File

@ -93,6 +93,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap)
formatted = 1;
}
fputs(buf, lf->file);
fflush(lf->file);
/* XXX check for EOF */
}
}