summaryrefslogtreecommitdiff
path: root/protocols/Dummy/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-03 17:14:30 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-03 17:14:30 +0300
commit1338ad89ee45bdb681c531476dca00a377d7d033 (patch)
tree3eae8ad7620848a1a8b12ced532d826aae81a224 /protocols/Dummy/src
parent8a0d55713496fe7c8eecc0267d775b1bb29e0842 (diff)
PROTO_INTERFACE::SendMsg: second parameter became a reply event id
Diffstat (limited to 'protocols/Dummy/src')
-rw-r--r--protocols/Dummy/src/dummy_proto.cpp2
-rw-r--r--protocols/Dummy/src/dummy_proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp
index a3f0eb113e..e89442144b 100644
--- a/protocols/Dummy/src/dummy_proto.cpp
+++ b/protocols/Dummy/src/dummy_proto.cpp
@@ -136,7 +136,7 @@ INT_PTR CDummyProto::GetCaps(int type, MCONTACT)
//////////////////////////////////////////////////////////////////////////////
-int CDummyProto::SendMsg(MCONTACT hContact, const char *msg)
+int CDummyProto::SendMsg(MCONTACT hContact, MEVENT, const char *msg)
{
std::string message = msg;
unsigned int id = InterlockedIncrement(&this->msgid);
diff --git a/protocols/Dummy/src/dummy_proto.h b/protocols/Dummy/src/dummy_proto.h
index 3760fbba4a..2aeb34705f 100644
--- a/protocols/Dummy/src/dummy_proto.h
+++ b/protocols/Dummy/src/dummy_proto.h
@@ -30,7 +30,7 @@ struct CDummyProto : public PROTO<CDummyProto>
INT_PTR GetCaps(int type, MCONTACT hContact = NULL) override;
- int SendMsg(MCONTACT hContact, const char* msg) override;
+ int SendMsg(MCONTACT hContact, MEVENT, const char* msg) override;
int SetStatus(int iNewStatus) override;