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) ...@@ -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;
......