summaryrefslogtreecommitdiff
path: root/messages.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2011-04-09 23:31:11 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2011-04-09 23:31:11 +0300
commit9d5f37e462ccedfc97714731aae38330e113bb26 (patch)
tree3265046b38c47a6d9bc2c76258622f253714cc7d /messages.cpp
parenteacaecb90d386044d24f47606007a0d348e92ebb (diff)
modified: messages.cpp
Diffstat (limited to 'messages.cpp')
-rw-r--r--messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messages.cpp b/messages.cpp
index f73223e..4b4a686 100644
--- a/messages.cpp
+++ b/messages.cpp
@@ -310,7 +310,7 @@ int RecvMsgSvc_func(HANDLE hContact, std::wstring str, char *msg, DWORD flags, D
return 0;
}
char *tmp = mir_strdup(toUTF8(str).c_str());
- HistoryLog(hContact, db_event(msg, timestamp, 0, dbflags));
+ HistoryLog(hContact, db_event(tmp, timestamp, 0, dbflags));
mir_free(tmp);
return 0;
}