mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-26 20:38:25 +00:00
Remove fflush in logging
This commit is contained in:
1 parent
41f5daeb47
commit
4844ed60bd
2 files changed
-2
No files matched your search
@@ -1331,7 +1331,6 @@ void mg_iobuf_free(struct mg_iobuf *io) {
|
|||||||
static void mg_log_stdout(const void *buf, int len, void *userdata) {
|
static void mg_log_stdout(const void *buf, int len, void *userdata) {
|
||||||
(void) userdata;
|
(void) userdata;
|
||||||
fwrite(buf, 1, len, stdout);
|
fwrite(buf, 1, len, stdout);
|
||||||
fflush(stdout);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *s_spec = "2";
|
static const char *s_spec = "2";
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
static void mg_log_stdout(const void *buf, int len, void *userdata) {
|
static void mg_log_stdout(const void *buf, int len, void *userdata) {
|
||||||
(void) userdata;
|
(void) userdata;
|
||||||
fwrite(buf, 1, len, stdout);
|
fwrite(buf, 1, len, stdout);
|
||||||
fflush(stdout);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *s_spec = "2";
|
static const char *s_spec = "2";
|
||||||
|
|||||||
Reference in new issue
Block a user