From f4ef5c3908e1a4ac3c32c0b92bea8e6db5bce618 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 3 Apr 2015 09:31:13 +0000 Subject: one more login fix git-svn-id: http://svn.miranda-ng.org/main/trunk@12585 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_events.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index 945770255a..eb920659c5 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -96,12 +96,11 @@ void CSkypeProto::OnLoginSecond(const NETLIBHTTPREQUEST *response) void CSkypeProto::OnGetRegInfo(const NETLIBHTTPREQUEST *response) { - if (response == NULL || response->pData == NULL) + if (response == NULL) return; std::regex regex; std::smatch match; - std::string content = response->pData; for (int i = 0; i < response->headersCount; i++) { if (!mir_strcmpi(response->headers[i].szName, "Set-RegistrationToken")) { -- cgit v1.2.3