Bugfix
* libmailutils/cfg/parser.y (mu_cfg_find_node): Fix spurious error diagnostics when the node is not found.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1462,7 +1462,7 @@ mu_cfg_find_node (mu_cfg_tree_t *tree, const char *path, mu_cfg_node_t **pval) | ... | @@ -1462,7 +1462,7 @@ mu_cfg_find_node (mu_cfg_tree_t *tree, const char *path, mu_cfg_node_t **pval) |
1462 | *pval = (mu_cfg_node_t *) data.node; | 1462 | *pval = (mu_cfg_node_t *) data.node; |
1463 | return 0; | 1463 | return 0; |
1464 | } | 1464 | } |
1465 | else | 1465 | else if (rc != 0) |
1466 | mu_diag_funcall (MU_DIAG_ERR, "mu_cfg_preorder", NULL, rc); | 1466 | mu_diag_funcall (MU_DIAG_ERR, "mu_cfg_preorder", NULL, rc); |
1467 | } | 1467 | } |
1468 | return MU_ERR_NOENT; | 1468 | return MU_ERR_NOENT; | ... | ... |
-
Please register or sign in to post a comment