Commit 7896f27d 7896f27dc2d83c033ee5e5da03fa59b9d63deded by Sergey Poznyakoff

(mu_cfg_tree_reduce): Return 0 if no configuration is supplied.

1 parent a663d7d5
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
4 * include/mailutils/libargp.h (mu_app_cfg_verifier): New extern. 4 * include/mailutils/libargp.h (mu_app_cfg_verifier): New extern.
5 * libargp/muinit.c (mu_app_cfg_verifier): New variable. 5 * libargp/muinit.c (mu_app_cfg_verifier): New variable.
6 (mu_app_init): Call mu_app_cfg_verifier if in lint mode. 6 (mu_app_init): Call mu_app_cfg_verifier if in lint mode.
7 * mailbox/cfg_driver.c (mu_cfg_tree_reduce): Return 0 if no
8 configuration is supplied.
7 9
8 2008-11-11 Sergey Poznyakoff <gray@gnu.org.ua> 10 2008-11-11 Sergey Poznyakoff <gray@gnu.org.ua>
9 11
......
...@@ -579,7 +579,7 @@ mu_cfg_tree_reduce (mu_cfg_tree_t *parse_tree, const char *progname, ...@@ -579,7 +579,7 @@ mu_cfg_tree_reduce (mu_cfg_tree_t *parse_tree, const char *progname,
579 struct mu_cfg_param *progparam, int flags, 579 struct mu_cfg_param *progparam, int flags,
580 void *target_ptr) 580 void *target_ptr)
581 { 581 {
582 int rc = 1; 582 int rc = 0;
583 583
584 if (root_container) 584 if (root_container)
585 { 585 {
......