From 8d5867276a766c5447e4d4489f4649d7fb04ab72 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 20 Sep 2018 22:12:50 +0300 Subject: fix for the proper return type of PROTO<>::RecvMsg --- include/m_protoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_protoint.h b/include/m_protoint.h index 56063d0cd1..25f2607714 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -202,7 +202,7 @@ public: virtual int RecvContacts(MCONTACT hContact, PROTORECVEVENT*); virtual int RecvFile(MCONTACT hContact, PROTORECVFILE*); - virtual int RecvMsg(MCONTACT hContact, PROTORECVEVENT*); + virtual MEVENT RecvMsg(MCONTACT hContact, PROTORECVEVENT*); virtual int RecvUrl(MCONTACT hContact, PROTORECVEVENT*); virtual int SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList); -- cgit v1.2.3