summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-03-22 17:00:07 +0100
committerdimitri staessens <[email protected]>2017-03-22 17:00:07 +0100
commit3964be811b57fca965b979b7c21f24532a172bd4 (patch)
tree9fd26561be8e27f15d69129f6f7257a136888eb5 /include
parent0d7852152ee4d46c825c1ee8143c3cb2f46c4d3d (diff)
downloadouroboros-3964be811b57fca965b979b7c21f24532a172bd4.tar.gz
ouroboros-3964be811b57fca965b979b7c21f24532a172bd4.zip
include: fflush stdout after printing a log msg
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/logs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ouroboros/logs.h b/include/ouroboros/logs.h
index 38b50053..2d8a6e86 100644
--- a/include/ouroboros/logs.h
+++ b/include/ouroboros/logs.h
@@ -59,6 +59,7 @@ extern bool log_syslog;
"(" LVL "): ", getpid()); \
printf(__VA_ARGS__); \
printf(CLR_RESET "\n"); \
+ fflush(stdout); \
} \
} while (0)