Skip to content

Commit

Permalink
fix: Flush the debug messages
Browse files Browse the repository at this point in the history
To make the redirection of the debug messages succeed.

Close #175.
  • Loading branch information
marktwtn committed Jul 25, 2019
1 parent 13b9624 commit eddf591
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ static inline void ddprintf(const char *format, ...)
va_start(ap, format);
vprintf(format, ap);
va_end(ap);
fflush(stdout);
#endif
}

Expand Down

0 comments on commit eddf591

Please sign in to comment.