summaryrefslogtreecommitdiff
path: root/protocols/Sametime
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-09-15 14:52:01 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-09-15 14:52:01 +0300
commitcb1787afbb67184321f206f13f836b63cd06740a (patch)
tree0e9f9701642fd1cc9bfb63dfba9eb72dad72d383 /protocols/Sametime
parenta232c39b9e45a77e14326511112b70d3dc405105 (diff)
PROTO_INTERFACE::SendMsg - unused parameter flags removed
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 adb4f67ce0..89774f0b63 100644
--- a/protocols/Sametime/src/sametime_proto.cpp
+++ b/protocols/Sametime/src/sametime_proto.cpp
@@ -195,7 +195,7 @@ HANDLE CSametimeProto::SendFile(MCONTACT hContact, const wchar_t* szDescription,
return nullptr; // failure
}
-int CSametimeProto::SendMsg(MCONTACT hContact, int, const char* msg)
+int CSametimeProto::SendMsg(MCONTACT hContact, const char* msg)
{
debugLogW(L"CSametimeProto::SendMsg() hContact=[%x]", hContact);
diff --git a/protocols/Sametime/src/sametime_proto.h b/protocols/Sametime/src/sametime_proto.h
index fb022ae3c2..e2faca6d07 100644
--- a/protocols/Sametime/src/sametime_proto.h
+++ b/protocols/Sametime/src/sametime_proto.h
@@ -28,7 +28,7 @@ struct CSametimeProto : public PROTO<CSametimeProto>
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;
+ int SendMsg(MCONTACT hContact, const char* msg) override;
int SetStatus(int iNewStatus) override;