summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src/mlan.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-18 18:53:33 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-18 18:53:33 +0300
commit726069ec50be8be30e8465c1328b178a2573fd75 (patch)
treed155865e83f7b205aa5045b812e75bee75685671 /protocols/EmLanProto/src/mlan.cpp
parenta28acd3195e07adbf12495a1b50a5c0b2c2dfbbd (diff)
PSS_URL removed as totally obsolete
Diffstat (limited to 'protocols/EmLanProto/src/mlan.cpp')
-rw-r--r--protocols/EmLanProto/src/mlan.cpp14
1 files changed, 2 insertions, 12 deletions
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;
}