diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-22 17:00:07 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-22 17:00:07 +0100 |
commit | 3964be811b57fca965b979b7c21f24532a172bd4 (patch) | |
tree | 9fd26561be8e27f15d69129f6f7257a136888eb5 /include | |
parent | 0d7852152ee4d46c825c1ee8143c3cb2f46c4d3d (diff) | |
download | ouroboros-3964be811b57fca965b979b7c21f24532a172bd4.tar.gz ouroboros-3964be811b57fca965b979b7c21f24532a172bd4.zip |
include: fflush stdout after printing a log msg
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/logs.h | 1 |
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) |