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:
parent
df818f4d26
commit
39d3c930f0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue