diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_db.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_db.cpp b/protocols/SkypeWeb/src/skype_db.cpp index a74b04793c..c2bf039e9c 100644 --- a/protocols/SkypeWeb/src/skype_db.cpp +++ b/protocols/SkypeWeb/src/skype_db.cpp @@ -68,7 +68,7 @@ MEVENT CSkypeProto::AddDbEvent(WORD type, MCONTACT hContact, DWORD timestamp, DW return hDbEvent; size_t messageLength = mir_strlen(content) + 1; size_t messageIdLength = mir_strlen(uid); - size_t cbBlob = messageLength + messageIdLength; + size_t cbBlob = messageLength + messageIdLength + 1; PBYTE pBlob = (PBYTE)mir_alloc(cbBlob); memcpy(pBlob, content, messageLength); memcpy(pBlob + messageLength, uid, messageIdLength); |