aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-10-01 19:32:16 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-10-01 19:32:16 +0200
commitc3ac6381f2ce2410ac7458e127532a7f1068a307 (patch)
tree6394f4050619512d62c561a1f9fa411dc298135a
parent1487d4d5227568bbbfb1c12424b676037b3830fb (diff)
downloaddovecot-antispam-c3ac6381f2ce2410ac7458e127532a7f1068a307.tar.gz
dovecot-antispam-c3ac6381f2ce2410ac7458e127532a7f1068a307.tar.xz
dovecot-antispam-c3ac6381f2ce2410ac7458e127532a7f1068a307.zip
flush stderr when logging there
Diffstat (limited to '')
-rw-r--r--debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index e2a2e09..271b9fe 100644
--- a/debug.c
+++ b/debug.c
@@ -10,6 +10,7 @@ static void _debug(const char *format, va_list ap)
vsyslog(LOG_DEBUG, format, ap);
#elif defined(DEBUG_STDERR)
vfprintf(stderr, format, ap);
+ fflush(stderr);
#else
#error no logging method
#endif