From: Nick Mathewson Date: Wed, 1 Oct 2003 00:42:24 +0000 (+0000) Subject: Flush after fputs X-Git-Tag: tor-0.0.2pre13~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f694ab23f57fe73534e75b6ffae3de00491008ee;p=thirdparty%2Ftor.git Flush after fputs svn:r526 --- diff --git a/src/common/log.c b/src/common/log.c index 10398305c6..2feb075c02 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -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 */ } }