summaryrefslogtreecommitdiff
path: root/protocols/MSN/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-20 22:12:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-20 22:12:50 +0300
commit8d5867276a766c5447e4d4489f4649d7fb04ab72 (patch)
treef6a47b1c846346dea8ee252e21a956efe98d2e76 /protocols/MSN/src
parent199b5e776f261c3818817648976819f1ed0c8056 (diff)
fix for the proper return type of PROTO<>::RecvMsg
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r--protocols/MSN/src/msn_proto.cpp2
-rw-r--r--protocols/MSN/src/msn_proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp
index eedaaf9a3b..8eaa4ef394 100644
--- a/protocols/MSN/src/msn_proto.cpp
+++ b/protocols/MSN/src/msn_proto.cpp
@@ -682,7 +682,7 @@ INT_PTR CMsnProto::GetCaps(int type, MCONTACT)
/////////////////////////////////////////////////////////////////////////////////////////
// MsnRecvMessage - creates a database event from the message been received
-int CMsnProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre)
+MEVENT CMsnProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre)
{
char tEmail[MSN_MAX_EMAIL_LEN];
if (!db_get_static(hContact, m_szModuleName, "wlid", tEmail, sizeof(tEmail)) || !db_get_static(hContact, m_szModuleName, "e-mail", tEmail, sizeof(tEmail)))
diff --git a/protocols/MSN/src/msn_proto.h b/protocols/MSN/src/msn_proto.h
index 33851a20b0..ec37f0d4a4 100644
--- a/protocols/MSN/src/msn_proto.h
+++ b/protocols/MSN/src/msn_proto.h
@@ -51,7 +51,7 @@ struct CMsnProto : public PROTO<CMsnProto>
HANDLE SearchBasic(const wchar_t* id) override;
HANDLE SearchByEmail(const wchar_t* email) override;
- int RecvMsg(MCONTACT hContact, PROTORECVEVENT*) override;
+ MEVENT RecvMsg(MCONTACT hContact, PROTORECVEVENT*) override;
int RecvContacts(MCONTACT hContact, PROTORECVEVENT*) override;
int SendMsg(MCONTACT hContact, int flags, const char* msg) override;