From fc8f2a3b692878aa581bf3fcd5c1c3c2295bbcb5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Feb 2019 15:21:04 +0300 Subject: Jabber: - XmlGetChildText / XmlGetChildInt - new handy helpers for tinyxml2; - Unicode logging replaced with ANSI when appropriate; - JabberErrorMsg rewritten to be more useful --- protocols/JabberG/src/jabber_console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_console.cpp') diff --git a/protocols/JabberG/src/jabber_console.cpp b/protocols/JabberG/src/jabber_console.cpp index 733a2a1c89..e0c4d8589a 100644 --- a/protocols/JabberG/src/jabber_console.cpp +++ b/protocols/JabberG/src/jabber_console.cpp @@ -132,7 +132,7 @@ bool CJabberProto::FilterXml(const TiXmlElement *node, DWORD flags) break; case TFilterInfo::T_XMLNS: - attrValue = node->FirstChildElement(0)->Attribute("xmlns"); + attrValue = node->FirstChildElement()->Attribute("xmlns"); if (attrValue) return JabberStrIStr(Utf2T(attrValue), m_filterInfo.pattern) != nullptr; break; -- cgit v1.2.3