From 76175247072618ed85b674f277bec6ce78397d13 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 20 Apr 2018 21:45:04 +0200 Subject: srd_logv(): Add an explicit fflush(). --- log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'log.c') diff --git a/log.c b/log.c index 721258e..a94bde7 100644 --- a/log.c +++ b/log.c @@ -165,6 +165,8 @@ static int srd_logv(void *cb_data, int loglevel, const char *format, || putc('\n', stderr) < 0) return SRD_ERR; + fflush(stderr); + return SRD_OK; } -- cgit v1.2.3-70-g09d2