Remove fflush in logging

This commit is contained in:
cpq 2021-02-09 00:16:13 +00:00
parent 41f5daeb47
commit 4844ed60bd
2 changed files with 0 additions and 2 deletions

View File

@ -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";

View File

@ -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";