From 04f4e2acfbc82946ca3def654214c08071a87359 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Jun 2015 13:55:58 +0000 Subject: xml api became a set of functions git-svn-id: http://svn.miranda-ng.org/main/trunk@14288 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_ibb.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/JabberG/src/jabber_ibb.cpp') diff --git a/protocols/JabberG/src/jabber_ibb.cpp b/protocols/JabberG/src/jabber_ibb.cpp index 61094fb023..8177cd4942 100644 --- a/protocols/JabberG/src/jabber_ibb.cpp +++ b/protocols/JabberG/src/jabber_ibb.cpp @@ -52,10 +52,10 @@ BOOL CJabberProto::OnFtHandleIbbIq(HXML iqNode, CJabberIqInfo *pInfo) FtHandleIbbRequest(iqNode, FALSE); else if (!mir_tstrcmp(pInfo->GetChildNodeName(), _T("data"))) { BOOL bOk = FALSE; - const TCHAR *sid = xmlGetAttrValue(pInfo->GetChildNode(), _T("sid")); - const TCHAR *seq = xmlGetAttrValue(pInfo->GetChildNode(), _T("seq")); - if (sid && seq && xmlGetText(pInfo->GetChildNode())) - bOk = OnIbbRecvdData(xmlGetText(pInfo->GetChildNode()), sid, seq); + const TCHAR *sid = XmlGetAttrValue(pInfo->GetChildNode(), _T("sid")); + const TCHAR *seq = XmlGetAttrValue(pInfo->GetChildNode(), _T("seq")); + if (sid && seq && XmlGetText(pInfo->GetChildNode())) + bOk = OnIbbRecvdData(XmlGetText(pInfo->GetChildNode()), sid, seq); if (bOk) m_ThreadInfo->send( XmlNodeIq(_T("result"), pInfo)); -- cgit v1.2.3