diff --git a/mongoose.c b/mongoose.c index acadaff8..5efe7855 100644 --- a/mongoose.c +++ b/mongoose.c @@ -1331,7 +1331,6 @@ void mg_iobuf_free(struct mg_iobuf *io) { static void mg_log_stdout(const void *buf, int len, void *userdata) { (void) userdata; fwrite(buf, 1, len, stdout); - fflush(stdout); } static const char *s_spec = "2"; diff --git a/src/log.c b/src/log.c index 78c4be08..8761371e 100644 --- a/src/log.c +++ b/src/log.c @@ -7,7 +7,6 @@ static void mg_log_stdout(const void *buf, int len, void *userdata) { (void) userdata; fwrite(buf, 1, len, stdout); - fflush(stdout); } static const char *s_spec = "2";