Fixed bug: properly check iq stanza when sending result response.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4977 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2012-03-26 09:34:23 +00:00
parent 297b90c2c8
commit 3a7f56356d
1 changed files with 1 additions and 1 deletions

View File

@ -1847,7 +1847,7 @@ XmlElement* JBEvent::buildIqResult(bool addTags, XmlElement* child)
// Build and send a stanza 'result' from enclosed 'iq' element
bool JBEvent::sendIqResult(XmlElement* child)
{
if (!(m_element && m_stream && !XMPPUtils::isUnprefTag(*m_element,XmlTag::Iq))) {
if (!(m_element && m_stream && XMPPUtils::isUnprefTag(*m_element,XmlTag::Iq))) {
TelEngine::destruct(child);
return false;
}