From 726069ec50be8be30e8465c1328b178a2573fd75 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 Jan 2019 18:53:33 +0300 Subject: PSS_URL removed as totally obsolete --- protocols/EmLanProto/src/mlan.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'protocols/EmLanProto/src/mlan.cpp') diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp index d20ef97336..cf15c9f7e2 100644 --- a/protocols/EmLanProto/src/mlan.cpp +++ b/protocols/EmLanProto/src/mlan.cpp @@ -383,20 +383,10 @@ INT_PTR CMLan::AddToContactList(u_int flags, EMPSEARCHRESULT *psr) return (INT_PTR)contact; } -int CMLan::SendMessageUrl(CCSDATA *ccs, bool isUrl) +int CMLan::SendMessageUrl(CCSDATA *ccs) { int cid = GetRandomProcId(); - size_t len = 0; - if (isUrl) { - len = mir_strlen((char*)ccs->lParam); - ((char*)ccs->lParam)[len] = 1; - } - TDataHolder *hold = new TDataHolder(ccs, cid, isUrl ? LEXT_SENDURL : LEXT_SENDMESSAGE, this); - if (isUrl) { - ((char*)ccs->lParam)[len] = 0; - hold->msg[len] = 0; - } - mir_forkthread(LaunchExt, hold); + mir_forkthread(LaunchExt, new TDataHolder(ccs, cid, LEXT_SENDMESSAGE, this)); return cid; } -- cgit v1.2.3