Bug fix in ixmlNode_allowChildren
Commit d48d73720b
added a bug in
ixmlNode_allowChildren, this function was returning FALSE instead of
TRUE when newChild->nodeName was eELEMENT_NODE.
This commit is contained in:
parent
b116d10f37
commit
76eb3f869b
@ -2,6 +2,14 @@
|
||||
Version 1.6.16
|
||||
*******************************************************************************
|
||||
|
||||
2012-03-15 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
Bug fix in ixmlNode_allowChildren
|
||||
|
||||
Commit d48d73720bd325062c4d3b9ce85f3944be4f562d added a bug in
|
||||
ixmlNode_allowChildren, this function was returning FALSE instead of
|
||||
TRUE when newChild->nodeName was eELEMENT_NODE.
|
||||
|
||||
2012-03-15 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
Improve upnp/genlib/net
|
||||
|
@ -428,7 +428,6 @@ static BOOL ixmlNode_allowChildren(
|
||||
case eTEXT_NODE:
|
||||
case eCDATA_SECTION_NODE:
|
||||
return FALSE;
|
||||
break;
|
||||
|
||||
case eELEMENT_NODE:
|
||||
switch (newChild->nodeType) {
|
||||
@ -443,9 +442,9 @@ static BOOL ixmlNode_allowChildren(
|
||||
case eDOCUMENT_NODE:
|
||||
switch (newChild->nodeType) {
|
||||
case eELEMENT_NODE:
|
||||
return FALSE;
|
||||
default:
|
||||
break;
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user