Skip to content

Commit

Permalink
Merge pull request #48 from dwoske/master
Browse files Browse the repository at this point in the history
issue #47 : add fflush(stdout) to log method
  • Loading branch information
tj authored Sep 7, 2016
2 parents 3763afc + 98e58ea commit 9754dc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ static monitor_t monitor;
do { \
if (prefix) { \
printf("mon : %s : " fmt "\n", prefix, ##args); \
fflush(stdout); \
} else { \
printf("mon : " fmt "\n", ##args); \
fflush(stdout); \
} \
} while(0)

Expand Down

0 comments on commit 9754dc2

Please sign in to comment.