From fd8fdaa7ade16132fd3f23db5b0727e3615038ad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 9 Feb 2016 12:21:12 +0000 Subject: - code cleaning; - warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@16250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp') diff --git a/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp b/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp index 957716e2b0..12f7c7a863 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp @@ -76,8 +76,8 @@ void WALogin::sendAuth(const std::vector& existingChallenge) if (!existingChallenge.empty()) data = getAuthBlob(existingChallenge); - m_pConnection->out.write(ProtocolTreeNode("auth", data) << - XATTR("mechanism", "WAUTH-2") << XATTR("user", m_pConnection->user)); + ProtocolTreeNode n("auth", data); + m_pConnection->out.write(n << XATTR("mechanism", "WAUTH-2") << XATTR("user", m_pConnection->user)); } std::vector* WALogin::getAuthBlob(const std::vector& nonce) -- cgit v1.2.3