aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-11-02 16:46:24 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-11-02 16:46:24 +0200
commit3457c19206858d3e8155dcfc776df8818d05824b (patch)
tree964b85710a9329541f253f34ce24255330dea986
parent30da6df2e8795478914a601feebf9cc4ab2f0cfc (diff)
downloadsmap-3457c19206858d3e8155dcfc776df8818d05824b.tar.gz
smap-3457c19206858d3e8155dcfc776df8818d05824b.tar.bz2
Follow Mailutils commit dc62b399
-rw-r--r--modules/mailutils/mailutils.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/modules/mailutils/mailutils.c b/modules/mailutils/mailutils.c
index 26d04d6..b383bdb 100644
--- a/modules/mailutils/mailutils.c
+++ b/modules/mailutils/mailutils.c
@@ -575,5 +575,4 @@ init_hints(struct mu_cfg_parse_hints *hints)
{
- hints->flags |= MU_PARSE_CONFIG_PLAIN |
- MU_CFG_PARSE_SITE_RCFILE | MU_CFG_PARSE_PROGRAM;
- hints->site_rcfile = mu_site_config_file();
+ hints->flags |= MU_CFHINT_SITE_FILE | MU_CFHINT_PROGRAM;
+ hints->site_file = mu_site_config_file();
hints->program = (char*) mu_program_name;
@@ -597,5 +596,5 @@ mod_mailutils_init(int argc, char **argv)
{ SMAP_OPTSTR(config-verbose), smap_opt_bitmask,
- &hints.flags, { MU_PARSE_CONFIG_VERBOSE } },
+ &hints.flags, { MU_CF_VERBOSE } },
{ SMAP_OPTSTR(config-dump), smap_opt_bitmask,
- &hints.flags, { MU_PARSE_CONFIG_DUMP } },
+ &hints.flags, { MU_CF_DUMP } },
{ NULL }
@@ -662,5 +661,5 @@ mod_mailutils_init_db(const char *dbid, int argc, char **argv)
{ SMAP_OPTSTR(config-verbose), smap_opt_bitmask,
- &cfgflags, { MU_PARSE_CONFIG_VERBOSE } },
+ &cfgflags, { MU_CF_VERBOSE } },
{ SMAP_OPTSTR(config-dump), smap_opt_bitmask,
- &cfgflags, { MU_PARSE_CONFIG_DUMP } },
+ &cfgflags, { MU_CF_DUMP } },
{ NULL }
@@ -717,5 +716,5 @@ mod_mailutils_open(smap_database_t dbp)
mu_cfg_parser_verbose = 0;
- if (db->config_flags & MU_PARSE_CONFIG_VERBOSE)
+ if (db->config_flags & MU_CF_VERBOSE)
mu_cfg_parser_verbose++;
- if (db->config_flags & MU_PARSE_CONFIG_DUMP)
+ if (db->config_flags & MU_CF_DUMP)
mu_cfg_parser_verbose++;

Return to:

Send suggestions and report system problems to the System administrator.