From dfa6fb6ace3997ae4375268ff0850fc2d07848eb Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Wed, 6 Oct 2021 09:56:46 +0500 Subject: VKontakte: login small fix --- protocols/VKontakte/src/vk_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte') diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 692faaeaa5..35501cfa21 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -263,7 +263,7 @@ void CVkProto::OnOAuthAuthorize(NETLIBHTTPREQUEST *reply, AsyncHttpRequest*) return; } - if (reply->resultCode != 200 || !reply->pData || (!strstr(reply->pData, "form method=\"post\"") && !strstr(reply->pData, "meta http-equiv=\"refresh\""))) { // something went wrong + if (reply->resultCode != 200 || !reply->pData || (!strstr(reply->pData, "method=\"post\"") && !strstr(reply->pData, "meta http-equiv=\"refresh\""))) { // something went wrong ConnectionFailed(LOGINERR_NOSERVER); return; } -- cgit v1.2.3