diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-09-25 12:05:53 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-09-25 12:08:37 +0300 |
commit | c42bddb0b814375bf68db9ee17fb77b888befaaa (patch) | |
tree | 59ebcee54825c589bf394ff62f8811d34f42370f /comsat/comsat.c | |
parent | 3c21c6583253be9edfd9e4c1e1fc6c07726be499 (diff) | |
download | mailutils-c42bddb0b814375bf68db9ee17fb77b888befaaa.tar.gz mailutils-c42bddb0b814375bf68db9ee17fb77b888befaaa.tar.bz2 |
Minor changes.
* am/debug.m4 (MU_DEBUG_MODE): Rewrite. Use -Wdeclaration-after-statement
if supported.
* comsat/oldcfg.c: Remove.
* comsat/Makefile.am (comsatd_SOURCES): Remove oldcfg.c.
* comsat/comsat.c: Remove the obsolete --config and --convert-config options.
* comsat/comsat.h (convert_config): Remove.
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r-- | comsat/comsat.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c index ca11efef5..4ec589b55 100644 --- a/comsat/comsat.c +++ b/comsat/comsat.c @@ -63,9 +63,6 @@ static char args_doc[] = N_("\n--test MBOX-URL MSG-QID"); static struct argp_option options[] = { - { "config", 'c', N_("FILE"), OPTION_HIDDEN, "", 0 }, - { "convert-config", 'C', N_("FILE"), 0, - N_("convert the configuration FILE to new format"), 0 }, { "test", 't', NULL, 0, N_("run in test mode"), 0 }, { "foreground", OPT_FOREGROUND, 0, 0, N_("remain in foreground"), 0}, { "inetd", 'i', 0, 0, N_("run in inetd mode"), 0 }, @@ -151,33 +148,6 @@ comsatd_parse_opt (int key, char *arg, struct argp_state *state) switch (key) { - case 'c': - { - char *cfg; - int fd; - FILE *fp; - - mu_diag_output (MU_DIAG_WARNING, -_("The old configuration file format and the --config command\n" - "line option are deprecated and will be removed in the future\n" - "release. Please use --convert-config option to convert your\n" - "settings to the new format.")); - /* FIXME: Refer to the docs */ - - fd = mu_tempfile (NULL, &cfg); - fp = fdopen (fd, "w"); - convert_config (arg, fp); - fclose (fp); - mu_get_config (cfg, mu_program_name, comsat_cfg_param, 0, NULL); - unlink (cfg); - free (cfg); - } - break; - - case 'C': - convert_config (arg, stdout); - exit (0); - case 'd': mu_argp_node_list_new (lst, "mode", "daemon"); if (arg) |