summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_search.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-07 15:58:59 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-07 15:58:59 +0000
commitaa6b13e2545e7b8dbab49bc14909443643e375e9 (patch)
treedf88fb1a7bcc79f1fa78ae9dd2d8ed734026088b /protocols/SkypeWeb/src/skype_search.cpp
parentfb2739625f4424488433e4edc53082e452e610fa (diff)
SkypeWeb: Manual JSON formation removed. Other fixes. Version bump.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13475 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_search.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_search.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_search.cpp b/protocols/SkypeWeb/src/skype_search.cpp
index 3b026e0292..8153e681c3 100644
--- a/protocols/SkypeWeb/src/skype_search.cpp
+++ b/protocols/SkypeWeb/src/skype_search.cpp
@@ -28,13 +28,13 @@ void CSkypeProto::SearchBasicThread(void* id)
debugLogA("CSkypeProto::OnSearchBasicThread");
if (!IsOnline())
return;
- ptrA token(getStringA("TokenSecret"));
ptrA string(mir_urlEncode(ptrA(mir_utf8encodeT((TCHAR*)id))));
- SendRequest(new GetSearchRequest(token, string), &CSkypeProto::OnSearch);
+ SendRequest(new GetSearchRequest(TokenSecret, string), &CSkypeProto::OnSearch);
}
void CSkypeProto::OnSearch(const NETLIBHTTPREQUEST *response)
{
+ debugLogA(__FUNCTION__);
if (response == NULL)
{
ProtoBroadcastAck(0, ACKTYPE_SEARCH, ACKRESULT_SUCCESS, (HANDLE)1, 0);