diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-11 17:01:09 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-11 17:01:09 +0000 |
commit | e8ab90ab839ce55a399280f1920e1afd0fb28424 (patch) | |
tree | 69f0a483d8f5408adfc1b3e3920aa3bd54d99f40 /protocols/SkypeWeb/src/skype_search.cpp | |
parent | 6f7054d8f6c14e032a45a42555d4ab097fc82863 (diff) |
SkypeWeb: Small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13550 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_search.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_search.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_search.cpp b/protocols/SkypeWeb/src/skype_search.cpp index c3e5c35655..67f3892f02 100644 --- a/protocols/SkypeWeb/src/skype_search.cpp +++ b/protocols/SkypeWeb/src/skype_search.cpp @@ -29,8 +29,8 @@ void CSkypeProto::SearchBasicThread(void* id) if (!IsOnline())
return;
- TCHAR *idT = (TCHAR *)id;
- ptrA string(mir_urlEncode(mir_utf8encodeT(idT)));
+ ptrT idT((TCHAR *)id);
+ ptrA string(mir_urlEncode(ptrA(mir_utf8encodeT(idT))));
SendRequest(new GetSearchRequest(TokenSecret, string), &CSkypeProto::OnSearch);
}
|