From d52c505daaef53cd1c039c1d2b993b7d389c9d94 Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Sun, 18 Mar 2012 09:51:39 +0200 Subject: FIX: infinite uploading issue, download speed issue --- client/Logger.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'client/Logger.cpp') diff --git a/client/Logger.cpp b/client/Logger.cpp index 1367751..9de51c8 100644 --- a/client/Logger.cpp +++ b/client/Logger.cpp @@ -15,11 +15,13 @@ FILE* Logger::logFile = NULL; void Logger::InitLogFile() { + /* if (logFile == NULL) { logFile = fopen("client.log", "a"); - setbuf(logFile, NULL); + setbuf(logFile, NULL); } + */ } void Logger::Trace(string msg, ...) @@ -116,4 +118,4 @@ void Logger::Log(LogLevelType logLevel, string msg, va_list args) delete [] newfmt; } -#endif \ No newline at end of file +#endif -- cgit v1.2.3