From cb5b731b72ba5c300b323c530219667061324352 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 8 Apr 2015 08:59:29 +0000 Subject: one more connection fix git-svn-id: http://svn.miranda-ng.org/main/trunk@12674 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_login.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp index 83c2d7883f..b783508b58 100644 --- a/protocols/SkypeWeb/src/skype_login.cpp +++ b/protocols/SkypeWeb/src/skype_login.cpp @@ -89,8 +89,7 @@ void CSkypeProto::OnLoginSecond(const NETLIBHTTPREQUEST *response) cookies[match[1]] = match[2]; } - ptrA server(getStringA("Server")); - PushRequest(new CreateEndpointRequest(token.c_str(), server), &CSkypeProto::OnEndpointCreated); + PushRequest(new CreateEndpointRequest(token.c_str()), &CSkypeProto::OnEndpointCreated); PushRequest(new GetProfileRequest(token.c_str()), &CSkypeProto::LoadProfile); PushRequest(new GetContactListRequest(token.c_str()), &CSkypeProto::LoadContactList); @@ -132,7 +131,7 @@ void CSkypeProto::OnEndpointCreated(const NETLIBHTTPREQUEST *response) if (response->resultCode != 201) { - ptrA token(getStringA("Token")); + ptrA token(getStringA("TokenSecret")); PushRequest(new CreateEndpointRequest(token, server), &CSkypeProto::OnEndpointCreated); return; } -- cgit v1.2.3