summaryrefslogtreecommitdiff
path: root/protocols/Sametime
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/Sametime
parent199b5e776f261c3818817648976819f1ed0c8056 (diff)
fix for the proper return type of PROTO<>::RecvMsg
Diffstat (limited to 'protocols/Sametime')
-rw-r--r--protocols/Sametime/src/sametime_proto.cpp2
-rw-r--r--protocols/Sametime/src/sametime_proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Sametime/src/sametime_proto.cpp b/protocols/Sametime/src/sametime_proto.cpp
index f84ed684e3..fd5d5c4eb2 100644
--- a/protocols/Sametime/src/sametime_proto.cpp
+++ b/protocols/Sametime/src/sametime_proto.cpp
@@ -186,7 +186,7 @@ int CSametimeProto::RecvFile(MCONTACT hContact, PROTORECVFILE* pre)
return CSuper::RecvFile(hContact, pre);
}
-int CSametimeProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre)
+MEVENT CSametimeProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre)
{
debugLogW(L"CSametimeProto::RecvMsg() hContact=[%x]", hContact);
diff --git a/protocols/Sametime/src/sametime_proto.h b/protocols/Sametime/src/sametime_proto.h
index bb043f5ff9..08199a929d 100644
--- a/protocols/Sametime/src/sametime_proto.h
+++ b/protocols/Sametime/src/sametime_proto.h
@@ -29,7 +29,7 @@ struct CSametimeProto : public PROTO<CSametimeProto>
HWND CreateExtendedSearchUI(HWND owner) override;
int RecvFile(MCONTACT hContact, PROTORECVFILE*) override;
- int RecvMsg(MCONTACT hContact, PROTORECVEVENT*) override;
+ MEVENT RecvMsg(MCONTACT hContact, PROTORECVEVENT*) override;
HANDLE SendFile(MCONTACT hContact, const wchar_t* szDescription, wchar_t** ppszFiles) override;
int SendMsg(MCONTACT hContact, int flags, const char* msg) override;