From 501fd1fbff6afc11bb0368b82b4a8d9451bee5f3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 Jan 2019 21:13:56 +0300 Subject: we don't need PSR_URL as well --- protocols/EmLanProto/src/amdproto.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/EmLanProto/src/amdproto.cpp') diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp index 99746894a0..f4e04fee8c 100644 --- a/protocols/EmLanProto/src/amdproto.cpp +++ b/protocols/EmLanProto/src/amdproto.cpp @@ -106,7 +106,7 @@ static INT_PTR __cdecl EMPSendMessage(WPARAM, LPARAM lParam) return g_lan->SendMessageUrl((CCSDATA*)lParam); } -static INT_PTR __cdecl EMPRecvMessageUrl(WPARAM, LPARAM lParam) +static INT_PTR __cdecl EMPRecvMessage(WPARAM, LPARAM lParam) { g_lan->RecvMessageUrl((CCSDATA*)lParam); return 0; @@ -333,8 +333,7 @@ int CMPlugin::Load() CreateProtoServiceFunction(MODULENAME, PS_BASICSEARCH, EMPBasicSearch); CreateProtoServiceFunction(MODULENAME, PS_ADDTOLIST, EMPAddToList); CreateProtoServiceFunction(MODULENAME, PSS_MESSAGE, EMPSendMessage); - CreateProtoServiceFunction(MODULENAME, PSR_MESSAGE, EMPRecvMessageUrl); - CreateProtoServiceFunction(MODULENAME, PSR_URL, EMPRecvMessageUrl); + CreateProtoServiceFunction(MODULENAME, PSR_MESSAGE, EMPRecvMessage); CreateProtoServiceFunction(MODULENAME, PSS_GETAWAYMSG, EMPGetAwayMsg); CreateProtoServiceFunction(MODULENAME, PS_SETAWAYMSG, EMPSetAwayMsg); CreateProtoServiceFunction(MODULENAME, PSR_AWAYMSG, EMPRecvAwayMessage); -- cgit v1.2.3