Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
walk over alternate *and* child of alternation nodes
  • Loading branch information
alandekok committed Mar 22, 2020
1 parent b4ef1d5 commit 4e9691b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib/server/xlat_eval.c
Expand Up @@ -1673,6 +1673,12 @@ int xlat_eval_walk(xlat_exp_t *exp, xlat_walker_t walker, xlat_type_t type, void
if (ret < 0) return ret;
}

/*
* Evaluate the first child
*/
ret = xlat_eval_walk(node->child, walker, type, uctx);
if (ret < 0) return ret;

/*
* Evaluate the alternate expansion path
*/
Expand Down

0 comments on commit 4e9691b

Please sign in to comment.