Docker example: fixed scripts to run multiple instances

Fixed parenthesis typo in purge code
This commit is contained in:
Olof hagsand 2023-02-10 11:50:46 +01:00
parent 8f7ae33262
commit 7868cf0a0d
6 changed files with 30 additions and 31 deletions

View file

@ -481,7 +481,7 @@ xml_tree_prune_flagged_sub(cxobj *xt,
x = NULL;
xprev = x = NULL;
while ((x = xml_child_each(xt, x, CX_ELMNT)) != NULL) {
if (xml_flag(x, flag) == test?flag:0){
if (xml_flag(x, flag) == (test?flag:0)){
/* Pass test */
mark++;
xprev = x;