Commit 460fc33f 460fc33fd89c4789edfbcafda89cf32cba89e854 by Sergey Poznyakoff

Bugfix

* libmailutils/cfg/parser.y (mu_cfg_find_node): Fix spurious error
diagnostics when the node is not found.
1 parent 89be18ea
......@@ -1462,7 +1462,7 @@ mu_cfg_find_node (mu_cfg_tree_t *tree, const char *path, mu_cfg_node_t **pval)
*pval = (mu_cfg_node_t *) data.node;
return 0;
}
else
else if (rc != 0)
mu_diag_funcall (MU_DIAG_ERR, "mu_cfg_preorder", NULL, rc);
}
return MU_ERR_NOENT;
......