Encode a component with no operation code only if it has any children.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4766 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-12-15 15:56:50 +00:00
parent df818f4d26
commit 39d3c930f0
1 changed files with 1 additions and 1 deletions

View File

@ -6006,7 +6006,7 @@ bool XmlToTcap::encodeComponent(DataBlock& payload, XmlElement* elem, bool searc
if (op)
encodeOperation(op,elem,payload,err,searchArgs);
else
else if (elem->hasChildren())
encodeRaw(0,payload,elem,err);
if (elem->getTag() == s_component) {