diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_search.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_search.cpp | 4 |
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);
}
|