diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-08 08:59:29 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-08 08:59:29 +0000 |
commit | cb5b731b72ba5c300b323c530219667061324352 (patch) | |
tree | 05968a1333e9dd6b83fa1b5b2df352542d6a7177 /protocols | |
parent | d2847debb6a983d9217deb8652e360cc2ec62533 (diff) |
one more connection fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12674 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/src/skype_login.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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;
}
|