diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-07-31 09:41:08 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-07-31 09:41:08 +0000 |
commit | 0c2bd15027983dc1502edc0da7b0839fc9e9b70b (patch) | |
tree | ed3063656622d04c76d6801f42c62252f2ca80bb /src/core/stdmsg | |
parent | a22ed0d87aecf8827d711b45ded2b8e89bbce7e1 (diff) |
stdmsg: fix blob size
git-svn-id: http://svn.miranda-ng.org/main/trunk@14761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r-- | src/core/stdmsg/src/cmdlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/cmdlist.cpp b/src/core/stdmsg/src/cmdlist.cpp index 4fa38ae9ac..c605e0c6a6 100644 --- a/src/core/stdmsg/src/cmdlist.cpp +++ b/src/core/stdmsg/src/cmdlist.cpp @@ -97,7 +97,7 @@ void msgQueue_processack(MCONTACT hContact, int id, BOOL success, const char *sz dbei.flags = DBEF_SENT | DBEF_UTF | (p->flags & PREF_RTL ? DBEF_RTL : 0);
dbei.szModule = GetContactProto(hContact);
dbei.timestamp = time(0);
- dbei.cbBlob = (DWORD)mir_strlen(p->szMsg);
+ dbei.cbBlob = (DWORD)(mir_strlen(p->szMsg) + 1);
dbei.pBlob = (PBYTE)p->szMsg;
MessageWindowEvent evt = { sizeof(evt), id, hContact, &dbei };
|