* Fixed: Datastore read on startup got fixed default values.
* Fixed: Default values only worked on leafs, not typedefs.
This commit is contained in:
parent
7425a3b520
commit
28fad0303a
7 changed files with 157 additions and 16 deletions
|
|
@ -784,7 +784,7 @@ xml_tree_prune_flagged(cxobj *xt,
|
|||
x = NULL;
|
||||
xprev = NULL;
|
||||
while ((x = xml_child_each(xt, x, CX_ELMNT)) != NULL) {
|
||||
if (xml_flag(x, flag) == test?flag:0){ /* Pass test means purge */
|
||||
if (xml_flag(x, flag) == (test?flag:0)){ /* Pass test means purge */
|
||||
if (xml_purge(x) < 0)
|
||||
goto done;
|
||||
x = xprev;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue