diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-13 06:21:10 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-13 06:21:10 +0000 |
commit | 1ab25705c372fc7436a49723b8db0e59fc0de6c0 (patch) | |
tree | 6934e85393a1fb846603474b4371d2119f8efac5 /protocols/SkypeWeb/src/skype_search.cpp | |
parent | 65de8f4052a43a5a48473b8f6b03e833bd4725b3 (diff) |
search fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_search.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_search.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_search.cpp b/protocols/SkypeWeb/src/skype_search.cpp index 9db84a6ca2..10d2ccbc88 100644 --- a/protocols/SkypeWeb/src/skype_search.cpp +++ b/protocols/SkypeWeb/src/skype_search.cpp @@ -29,9 +29,8 @@ void CSkypeProto::SearchBasicThread(void* id) if (!IsOnline())
return;
ptrA token(getStringA("TokenSecret"));
- //need to convert search string
- char *string = mir_t2a((TCHAR*)id);
- PushRequest(new GetSearchRequest(token, (char*)string), &CSkypeProto::OnSearch);
+ ptrA string(mir_urlEncode(ptrA(mir_utf8encodeT((TCHAR*)id))));
+ PushRequest(new GetSearchRequest(token, string), &CSkypeProto::OnSearch);
}
void CSkypeProto::OnSearch(const NETLIBHTTPREQUEST *response)
|