(mu_cfg_tree_reduce): Return 0 if no configuration is supplied.
Showing
2 changed files
with
3 additions
and
1 deletions
... | @@ -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 | { | ... | ... |
-
Please register or sign in to post a comment