diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2018-04-20 21:45:04 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-04-20 21:45:04 +0200 |
commit | 76175247072618ed85b674f277bec6ce78397d13 (patch) | |
tree | 1ed6cd7bdfe7952deabed3829ab5d038a0672eb0 /log.c | |
parent | 1dac69e9b0bc1d12c45d2a6e49b9890f29b744cb (diff) | |
download | libsigrokdecode-76175247072618ed85b674f277bec6ce78397d13.tar.gz libsigrokdecode-76175247072618ed85b674f277bec6ce78397d13.zip |
srd_logv(): Add an explicit fflush().
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |