From b4d1a98542c63747d1f7287be63779f054fa85da Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 30 Mar 2016 17:18:38 +0000 Subject: crash fix in Jabber git-svn-id: http://svn.miranda-ng.org/main/trunk@16565 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber_thread.cpp') diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 02b0766e78..296a427470 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -420,10 +420,10 @@ LBL_FatalError: if (nSelRes == -1) // error break; else if (nSelRes == 0 && m_bSendKeepAlive) { - if (m_ThreadInfo->jabberServerCaps & JABBER_CAPS_PING) { + if (info.jabberServerCaps & JABBER_CAPS_PING) { CJabberIqInfo *pInfo = AddIQ(&CJabberProto::OnPingReply, JABBER_IQ_TYPE_GET, NULL, 0, -1, this); pInfo->SetTimeout(m_options.ConnectionKeepAliveTimeout); - info.send(XmlNodeIq(pInfo) << XATTR(_T("from"), m_ThreadInfo->fullJID) << XCHILDNS(_T("ping"), JABBER_FEAT_PING)); + info.send(XmlNodeIq(pInfo) << XATTR(_T("from"), info.fullJID) << XCHILDNS(_T("ping"), JABBER_FEAT_PING)); } else info.send(" \t "); continue; -- cgit v1.2.3