Remove fflush in logging

This commit is contained in:
cpq committed 2021-02-09 00:16:13 +00:00
1 parent 41f5daeb47
commit 4844ed60bd
2 files changed
-2

No files matched your search

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