diff options
author | Alex Borisov <b0ric.alex@gmail.com> | 2012-03-18 09:51:39 +0200 |
---|---|---|
committer | Alex Borisov <b0ric.alex@gmail.com> | 2012-03-18 09:51:39 +0200 |
commit | d52c505daaef53cd1c039c1d2b993b7d389c9d94 (patch) | |
tree | 1a9fb70388d3c34d8e12cf0f7b2bf8cdce90fdf8 /client/Logger.cpp | |
parent | 036dd14e811bd84dea65264a91f11a489538f1b1 (diff) |
FIX: infinite uploading issue, download speed issue
Diffstat (limited to 'client/Logger.cpp')
-rw-r--r-- | client/Logger.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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 |