aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-10-01 00:42:24 +0000
committerNick Mathewson <nickm@torproject.org>2003-10-01 00:42:24 +0000
commitf694ab23f57fe73534e75b6ffae3de00491008ee (patch)
tree94b4158b4e6e5dd8915fa4a987d9e944e459d167 /src
parente6f8b3ba381c81af89025c8efac822621d8ecdb4 (diff)
downloadtor-f694ab23f57fe73534e75b6ffae3de00491008ee.tar.gz
tor-f694ab23f57fe73534e75b6ffae3de00491008ee.zip
Flush after fputs
svn:r526
Diffstat (limited to 'src')
-rw-r--r--src/common/log.c1
1 files changed, 1 insertions, 0 deletions
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 */
}
}