summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org>2018-11-07 11:04:07 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-11-07 11:09:56 (GMT)
commitaf64e30e538bd8d227432119ab3f54ac8deb03a2 (patch) (unidiff)
tree5e142e4bbeb24805dbce8b98bf17f3606782a450 /src
parent29583de41d70ec5ef37e87fa1ddddc0f7a15539f (diff)
downloadmailfromd-af64e30e538bd8d227432119ab3f54ac8deb03a2.tar.gz
mailfromd-af64e30e538bd8d227432119ab3f54ac8deb03a2.tar.bz2
Fix the functionality of the mailfromd --mtasim option
This option must discard the effect of the server.listen statement This also fixes mtasim -Xauto * src/main.c (mailfromd_options): Process the --mtasim option immediately.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4367ac8..15113a6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -544,25 +544,25 @@ static struct mu_option mailfromd_options[] = {
544 { "load-dir", 'L', N_("DIR"), MU_OPTION_HIDDEN, 544 { "load-dir", 'L', N_("DIR"), MU_OPTION_HIDDEN,
545 N_("add DIR to the load path"), 545 N_("add DIR to the load path"),
546 mu_c_void }, 546 mu_c_void },
547 547
548 MU_OPTION_GROUP(N_("General options")), 548 MU_OPTION_GROUP(N_("General options")),
549 { "include", 'I', N_("DIR"), MU_OPTION_DEFAULT, 549 { "include", 'I', N_("DIR"), MU_OPTION_DEFAULT,
550 N_("add the directory DIR to the list of directories to be " 550 N_("add the directory DIR to the list of directories to be "
551 "searched for header files"), 551 "searched for header files"),
552 mu_c_string, NULL, opt_include_dir }, 552 mu_c_string, NULL, opt_include_dir },
553 { "port", 'p', N_("STRING"), MU_OPTION_DEFAULT, 553 { "port", 'p', N_("STRING"), MU_OPTION_DEFAULT,
554 N_("set communication socket"), 554 N_("set communication socket"),
555 mu_c_string, NULL, opt_port }, 555 mu_c_string, NULL, opt_port },
556 { "mtasim", 0, NULL, MU_OPTION_DEFAULT, 556 { "mtasim", 0, NULL, MU_OPTION_IMMEDIATE,
557 N_("run in mtasim compatibility mode"), 557 N_("run in mtasim compatibility mode"),
558 mu_c_string, NULL, opt_mtasim }, 558 mu_c_string, NULL, opt_mtasim },
559 { "optimize", 'O', N_("LEVEL"), MU_OPTION_ARG_OPTIONAL, 559 { "optimize", 'O', N_("LEVEL"), MU_OPTION_ARG_OPTIONAL,
560 N_("set code optimization level"), 560 N_("set code optimization level"),
561 mu_c_string, NULL, opt_optimize }, 561 mu_c_string, NULL, opt_optimize },
562 { "variable", 'v', N_("VAR=VALUE"), MU_OPTION_DEFAULT, 562 { "variable", 'v', N_("VAR=VALUE"), MU_OPTION_DEFAULT,
563 N_("assign VALUE to VAR"), 563 N_("assign VALUE to VAR"),
564 mu_c_string, NULL, opt_variable }, 564 mu_c_string, NULL, opt_variable },
565 { "relayed-domain-file", 0, N_("FILE"), MU_OPTION_DEFAULT, 565 { "relayed-domain-file", 0, N_("FILE"), MU_OPTION_DEFAULT,
566 N_("read relayed domains from FILE"), 566 N_("read relayed domains from FILE"),
567 mu_c_string, NULL, opt_relayed_domain_file }, 567 mu_c_string, NULL, opt_relayed_domain_file },
568 { "resolv-conf-file", 0, N_("FILE"), MU_OPTION_DEFAULT, 568 { "resolv-conf-file", 0, N_("FILE"), MU_OPTION_DEFAULT,

Return to:

Send suggestions and report system problems to the System administrator.