summaryrefslogtreecommitdiff
path: root/log.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-09-07 20:03:07 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-09-07 20:03:07 +0300
commitb25e8d1955f51b15d566b7e73199b044cfe0efa3 (patch)
tree370cf29bb5bc17df959b7c1f0c6c347a9f0db20b /log.cpp
parent461183308684de712dc674382a86f87707a19a2a (diff)
bugfixes
Diffstat (limited to 'log.cpp')
-rw-r--r--log.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/log.cpp b/log.cpp
index eabccb6..f842f22 100644
--- a/log.cpp
+++ b/log.cpp
@@ -22,7 +22,7 @@ logtofile& logtofile::operator<<(TCHAR *buf)
if(bDebugLog)
{
char *tmp = mir_utf8encodeW(buf);
- log.open(path, std::ios::app |std::ios::ate |std::ios::binary);
+ log.open(path, std::ios::app |std::ios::ate);
log<<tmp;
log.close();
mir_free(tmp);
@@ -35,7 +35,7 @@ logtofile& logtofile::operator<<(char *buf)
if(bDebugLog)
{
char *tmp = mir_utf8encode(buf);
- log.open(path, std::ios::app |std::ios::ate |std::ios::binary);
+ log.open(path, std::ios::app |std::ios::ate);
log<<tmp;
log.close();
mir_free(tmp);
@@ -48,7 +48,7 @@ logtofile& logtofile::operator<<(string buf)
if(bDebugLog)
{
char *tmp = mir_utf8encode(buf.c_str());
- log.open(path, std::ios::app |std::ios::ate |std::ios::binary);
+ log.open(path, std::ios::app |std::ios::ate);
log<<tmp;
log.close();
mir_free(tmp);
@@ -61,7 +61,7 @@ logtofile& logtofile::operator<<(wstring buf)
if(bDebugLog)
{
char *tmp = mir_utf8encodeW(buf.c_str());
- log.open(path, std::ios::app |std::ios::ate |std::ios::binary);
+ log.open(path, std::ios::app |std::ios::ate);
log<<tmp;
log.close();
mir_free(tmp);