From f694ab23f57fe73534e75b6ffae3de00491008ee Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 1 Oct 2003 00:42:24 +0000 Subject: [PATCH] Flush after fputs svn:r526 --- src/common/log.c | 1 + 1 file changed, 1 insertion(+) 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 */ } }