summaryrefslogtreecommitdiff
path: root/log.cpp
diff options
context:
space:
mode:
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);