summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_ibb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_ibb.cpp')
-rw-r--r--protocols/JabberG/src/jabber_ibb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_ibb.cpp b/protocols/JabberG/src/jabber_ibb.cpp
index 94a10847cd..c0eadf883e 100644
--- a/protocols/JabberG/src/jabber_ibb.cpp
+++ b/protocols/JabberG/src/jabber_ibb.cpp
@@ -53,8 +53,8 @@ BOOL CJabberProto::OnFtHandleIbbIq(const TiXmlElement *iqNode, CJabberIqInfo *pI
FtHandleIbbRequest(iqNode, FALSE);
else if (!mir_strcmp(pInfo->GetChildNodeName(), "data")) {
BOOL bOk = FALSE;
- const char *sid = pInfo->GetChildNode()->Attribute("sid");
- const char *seq = pInfo->GetChildNode()->Attribute("seq");
+ const char *sid = XmlGetAttr(pInfo->GetChildNode(), "sid");
+ const char *seq = XmlGetAttr(pInfo->GetChildNode(), "seq");
if (sid && seq && pInfo->GetChildNode()->GetText())
bOk = OnIbbRecvdData(pInfo->GetChildNode()->GetText(), sid, seq);