From e64e17858c88e0b8302a34cebc02be0019422947 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Jan 2015 20:59:45 +0000 Subject: minus another shitty new git-svn-id: http://svn.miranda-ng.org/main/trunk@11920 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/connection.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/WhatsApp/src/connection.cpp') diff --git a/protocols/WhatsApp/src/connection.cpp b/protocols/WhatsApp/src/connection.cpp index d911bc31a4..c4ed44c7dd 100644 --- a/protocols/WhatsApp/src/connection.cpp +++ b/protocols/WhatsApp/src/connection.cpp @@ -90,9 +90,7 @@ void WhatsAppProto::stayConnectedLoop(void*) { WALogin login(m_pConnection, password); - std::vector *nextChallenge = login.login(*this->challenge); - delete this->challenge; - this->challenge = nextChallenge; + m_Challenge = login.login(m_Challenge); m_pConnection->setLogin(&login); } m_pConnection->nick = this->nick; -- cgit v1.2.3