From 157801507625921ba1e39988fe54e27a9157daa4 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Wed, 29 Apr 2015 14:23:56 +0000 Subject: SkypeWeb: Small fixes. git-svn-id: http://svn.miranda-ng.org/main/trunk@13242 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_trouter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_trouter.cpp') diff --git a/protocols/SkypeWeb/src/skype_trouter.cpp b/protocols/SkypeWeb/src/skype_trouter.cpp index c1c2b33468..a9071bf780 100644 --- a/protocols/SkypeWeb/src/skype_trouter.cpp +++ b/protocols/SkypeWeb/src/skype_trouter.cpp @@ -45,8 +45,8 @@ void CSkypeProto::OnTrouterPoliciesCreated(const NETLIBHTTPREQUEST *response) JSONROOT root(response->pData); - int st = _ttoi(json_as_string(json_get(root, "st"))); - int se = _ttoi(json_as_string(json_get(root, "se"))); + ptrA st(mir_t2a(ptrT(json_as_string(json_get(root, "st"))))); + ptrA se(mir_t2a(ptrT(json_as_string(json_get(root, "se"))))); ptrA sig(mir_t2a(ptrT(json_as_string(json_get(root, "sig"))))); SendRequest(new GetTrouterRequest @@ -67,7 +67,7 @@ void CSkypeProto::OnGetTrouter(const NETLIBHTTPREQUEST *response) return; CMStringA data(response->pData); int iStart = 0; - CMStringA szToken = data.Tokenize(";", iStart).Trim(); + CMStringA szToken = data.Tokenize(":", iStart).Trim(); setString("Trouter_SessId", szToken); } -- cgit v1.2.3