diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-10-29 23:38:35 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-10-29 23:38:35 +0300 |
commit | 30da6df2e8795478914a601feebf9cc4ab2f0cfc (patch) | |
tree | 5a1628ff0dcedece57d7884e6814a414ddbad29f /modules/mailutils/mailutils.c | |
parent | 8c13b3fe9a3c64471f3e2d0c07a9045c67c6269b (diff) | |
download | smap-30da6df2e8795478914a601feebf9cc4ab2f0cfc.tar.gz smap-30da6df2e8795478914a601feebf9cc4ab2f0cfc.tar.bz2 |
Convert to mailutils 2.99.992
Diffstat (limited to 'modules/mailutils/mailutils.c')
-rw-r--r-- | modules/mailutils/mailutils.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/mailutils/mailutils.c b/modules/mailutils/mailutils.c index fff7429..26d04d6 100644 --- a/modules/mailutils/mailutils.c +++ b/modules/mailutils/mailutils.c @@ -1,4 +1,4 @@ /* This file is part of Smap. - Copyright (C) 2006-2010, 2014 Sergey Poznyakoff + Copyright (C) 2006-2010, 2014, 2016 Sergey Poznyakoff Smap is free software; you can redistribute it and/or modify @@ -19,6 +19,4 @@ #endif #include <mailutils/mailutils.h> -#include <mailutils/cfg.h> -#include <mailutils/libcfg.h> #include <mailutils/sys/stream.h> #include <sysexits.h> @@ -375,9 +373,9 @@ static const char *capa[] = { static struct mu_cfg_param cfg_param[] = { - { "positive-reply", mu_cfg_string, &dfl_positive_reply, 0, NULL, + { "positive-reply", mu_c_string, &dfl_positive_reply, 0, NULL, "set default positive reply text" }, - { "negative-reply", mu_cfg_string, &dfl_negative_reply, 0, NULL, + { "negative-reply", mu_c_string, &dfl_negative_reply, 0, NULL, "set default negative reply text" }, - { "onerror-reply", mu_cfg_string, &dfl_onerror_reply, 0, NULL, + { "onerror-reply", mu_c_string, &dfl_onerror_reply, 0, NULL, "set default error reply text" }, { NULL } @@ -578,5 +576,5 @@ 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_rcfile; + hints->site_rcfile = mu_site_config_file(); hints->program = (char*) mu_program_name; } |