aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/estream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/estream.c b/common/estream.c
index 79fa40522..79e3efbb1 100644
--- a/common/estream.c
+++ b/common/estream.c
@@ -1275,6 +1275,7 @@ es_func_fp_write (void *cookie, const void *buffer, size_t size)
#else
bytes_written = fwrite (buffer, 1, size, file_cookie->fp);
#endif
+ fflush (file_cookie->fp);
}
else
bytes_written = size; /* Successfully written to the bit bucket. */