diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-28 19:41:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-28 19:41:16 +0000 |
commit | dae0ea5313c8691fcc8f761ac9647b8996c8824c (patch) | |
tree | 1e13ae35c0898ef035ef975b644107c911acabf6 /protocols/MRA/src/Mra_proto.cpp | |
parent | bc2780159221f9d9ef825e41d16cfdaa23c956b2 (diff) |
crash fix in mra
git-svn-id: http://svn.miranda-ng.org/main/trunk@15466 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra_proto.cpp')
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 23f02d6ed6..82a25af521 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -555,6 +555,7 @@ bool CMraProto::CmdAuthAck(BinBuffer &buf) CMStringA szBuff = CreateBlobFromContact(hContact, _T(""));
DBEVENTINFO dbei = { sizeof(dbei) };
+ dbei.flags = DBEF_UTF;
dbei.szModule = m_szModuleName;
dbei.timestamp = (DWORD)_time32(NULL);
dbei.eventType = EVENTTYPE_ADDED;
@@ -1743,7 +1744,7 @@ DWORD CMraProto::MraRecvCommand_Message(DWORD dwTime, DWORD dwFlags, CMStringA & DBEVENTINFO dbei = { sizeof(dbei) };
dbei.szModule = m_szModuleName;
dbei.timestamp = _time32(NULL);
- dbei.flags = DBEF_READ;
+ dbei.flags = DBEF_READ | DBEF_UTF;
dbei.eventType = EVENTTYPE_AUTHREQUEST;
dbei.pBlob = (PBYTE)szBlob.c_str();
dbei.cbBlob = szBlob.GetLength();
|