summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-03 13:48:22 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-03 13:48:22 +0300
commit73f57cc8b0355cabdac4ba69edc88e084ccc0a77 (patch)
tree256a7b344b5ff9db58b309da4374f2364e0f3981 /protocols/SkypeWeb
parent851c8b5531786c2ebbfeec2dbfd3739e43ad3d8c (diff)
fixes #1818 (SkypeWeb: invalid data error on audio/video call)
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r--protocols/SkypeWeb/src/skype_db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_db.cpp b/protocols/SkypeWeb/src/skype_db.cpp
index e627d76423..f26673d8ad 100644
--- a/protocols/SkypeWeb/src/skype_db.cpp
+++ b/protocols/SkypeWeb/src/skype_db.cpp
@@ -43,7 +43,7 @@ MEVENT CSkypeProto::AddDbEvent(WORD type, MCONTACT hContact, DWORD timestamp, DW
if (MEVENT hDbEvent = GetMessageFromDb(uid))
return hDbEvent;
- MEVENT ret = AddEventToDb(hContact, type, timestamp, flags, (DWORD)mir_strlen(content), (BYTE*)content);
+ MEVENT ret = AddEventToDb(hContact, type, timestamp, flags, (DWORD)mir_strlen(content)+1, (BYTE*)content);
if (uid && ret)
db_event_setId(m_szModuleName, ret, uid);
return ret;