summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-25 15:27:34 +0100
committermadmaxoft <github@xoft.cz>2014-01-25 15:27:34 +0100
commit5aa3fc4c564252359613eb0d91225247f65e0d45 (patch)
tree9be6643deb09fb7e9ac73c3e8802d795861f5bd0 /src/OSSupport/File.cpp
parentProtocol17: Comm logging shows the data left over from previous parse. (diff)
downloadcuberite-5aa3fc4c564252359613eb0d91225247f65e0d45.tar
cuberite-5aa3fc4c564252359613eb0d91225247f65e0d45.tar.gz
cuberite-5aa3fc4c564252359613eb0d91225247f65e0d45.tar.bz2
cuberite-5aa3fc4c564252359613eb0d91225247f65e0d45.tar.lz
cuberite-5aa3fc4c564252359613eb0d91225247f65e0d45.tar.xz
cuberite-5aa3fc4c564252359613eb0d91225247f65e0d45.tar.zst
cuberite-5aa3fc4c564252359613eb0d91225247f65e0d45.zip
Diffstat (limited to 'src/OSSupport/File.cpp')
-rw-r--r--src/OSSupport/File.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp
index 9f7c0d439..0ebd04915 100644
--- a/src/OSSupport/File.cpp
+++ b/src/OSSupport/File.cpp
@@ -450,3 +450,12 @@ int cFile::Printf(const char * a_Fmt, ...)
+
+void cFile::Flush(void)
+{
+ fflush(m_File);
+}
+
+
+
+