summaryrefslogtreecommitdiff
path: root/protocols/Skype
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-24 11:14:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-24 11:14:26 +0000
commit76b283677bd66b4f41289bc211504834bb0f0513 (patch)
treecd23344d78bd5457f9f95176807fd1fa260df530 /protocols/Skype
parent55cfa8393ae222c2b48d7dfcf1d493021ff5bb47 (diff)
PROTORECVEVENT::pCustomData field added to add user-defined into to incoming messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@6206 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype')
-rw-r--r--protocols/Skype/src/skype_contacts.cpp2
-rw-r--r--protocols/Skype/src/skype_messages.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_contacts.cpp b/protocols/Skype/src/skype_contacts.cpp
index 0f848d522f..72a518a80f 100644
--- a/protocols/Skype/src/skype_contacts.cpp
+++ b/protocols/Skype/src/skype_contacts.cpp
@@ -469,7 +469,7 @@ void CSkypeProto::OnContactsReceived(const ConversationRef &conversation, const
message->GetPropGuid(guid);
ReadMessageParam param = { guid, messageType };
- PROTORECVEVENT pre;
+ PROTORECVEVENT pre = { 0 };
pre.flags = PREF_UTF;
pre.lParam = (LPARAM)&param;
pre.timestamp = timestamp;
diff --git a/protocols/Skype/src/skype_messages.cpp b/protocols/Skype/src/skype_messages.cpp
index 93d8f71f49..d0e4ea81da 100644
--- a/protocols/Skype/src/skype_messages.cpp
+++ b/protocols/Skype/src/skype_messages.cpp
@@ -68,7 +68,7 @@ void CSkypeProto::OnMessageReceived(const ConversationRef &conversation, const M
if (status != CMessage::UNCONSUMED_NORMAL)
flags |= PREF_CREATEREAD;
- PROTORECVEVENT recv;
+ PROTORECVEVENT recv = { 0 };
recv.flags = flags;
recv.lParam = (LPARAM)&param;
recv.timestamp = timestamp;