Commit b5913357 b5913357069b49cbf77c1ff263460ee2e13148e9 by Sergey Poznyakoff

Fix in configuration reduction routines.

* libmailutils/cfg/parser.y (mu_cfg_preorder): Accept null node
lists.
1 parent 844f7fed
......@@ -655,6 +655,8 @@ _mu_cfg_preorder_recursive (void *item, void *cbdata)
int
mu_cfg_preorder (mu_list_t nodelist, struct mu_cfg_iter_closure *clos)
{
if (!nodelist)
return 0;
return mu_list_foreach (nodelist, _mu_cfg_preorder_recursive, clos);
}
......