summaryrefslogtreecommitdiff
path: root/accel-pptpd/triton/log.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-06 16:43:14 +0400
committerKozlov Dmitry <dima@server>2010-10-06 16:43:14 +0400
commitb6a1268714671904e96a49b88680dc3ff07aaa1c (patch)
tree60424372b94312710b9f583b1bcc641de4020316 /accel-pptpd/triton/log.c
parent5cf93f33f2350ed3b92f73ead1d2829a6883810a (diff)
downloadaccel-ppp-b6a1268714671904e96a49b88680dc3ff07aaa1c.tar.gz
accel-ppp-b6a1268714671904e96a49b88680dc3ff07aaa1c.zip
project cleanup and prepare to release
Diffstat (limited to 'accel-pptpd/triton/log.c')
-rw-r--r--accel-pptpd/triton/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pptpd/triton/log.c b/accel-pptpd/triton/log.c
index 7bb5559..c7e6b7f 100644
--- a/accel-pptpd/triton/log.c
+++ b/accel-pptpd/triton/log.c
@@ -46,6 +46,8 @@ static void do_log(FILE *f, const char *fmt, va_list ap)
fprintf(f, "[%s.%i]", date, (int)tv.tv_usec / 1000);
vfprintf(f, fmt,ap);
pthread_mutex_unlock(&lock);
+
+ fflush(f);
}
void triton_log_error(const char *fmt,...)
{