summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--log.c2
1 files changed, 2 insertions, 0 deletions
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;
}