summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_search.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-08 15:31:07 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-08 15:31:07 +0000
commitbeb1f6c074d7790bd015229afc0daea22e6fedb2 (patch)
tree9a8ef717be6f78f96dd99845fafdc6084574c5d5 /protocols/SkypeWeb/src/skype_search.cpp
parent033e0683934e31341a9a28ae1a7fac17fba9215f (diff)
SkypeWeb: DB utils moved to skype_db.cpp. Messages synchronization refactoring.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13484 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, 3 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_search.cpp b/protocols/SkypeWeb/src/skype_search.cpp
index 8153e681c3..0d38e61fb1 100644
--- a/protocols/SkypeWeb/src/skype_search.cpp
+++ b/protocols/SkypeWeb/src/skype_search.cpp
@@ -28,7 +28,9 @@ void CSkypeProto::SearchBasicThread(void* id)
debugLogA("CSkypeProto::OnSearchBasicThread");
if (!IsOnline())
return;
- ptrA string(mir_urlEncode(ptrA(mir_utf8encodeT((TCHAR*)id))));
+
+ TCHAR *idT = (TCHAR *)id;
+ ptrA string(mir_urlEncode(mir_utf8encodeT(idT)));
SendRequest(new GetSearchRequest(TokenSecret, string), &CSkypeProto::OnSearch);
}