diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-11-07 13:04:07 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-11-07 13:09:56 +0200 |
commit | af64e30e538bd8d227432119ab3f54ac8deb03a2 (patch) | |
tree | 5e142e4bbeb24805dbce8b98bf17f3606782a450 | |
parent | 29583de41d70ec5ef37e87fa1ddddc0f7a15539f (diff) | |
download | mailfromd-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.
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -544,25 +544,25 @@ static struct mu_option mailfromd_options[] = { { "load-dir", 'L', N_("DIR"), MU_OPTION_HIDDEN, N_("add DIR to the load path"), mu_c_void }, MU_OPTION_GROUP(N_("General options")), { "include", 'I', N_("DIR"), MU_OPTION_DEFAULT, N_("add the directory DIR to the list of directories to be " "searched for header files"), mu_c_string, NULL, opt_include_dir }, { "port", 'p', N_("STRING"), MU_OPTION_DEFAULT, N_("set communication socket"), mu_c_string, NULL, opt_port }, - { "mtasim", 0, NULL, MU_OPTION_DEFAULT, + { "mtasim", 0, NULL, MU_OPTION_IMMEDIATE, N_("run in mtasim compatibility mode"), mu_c_string, NULL, opt_mtasim }, { "optimize", 'O', N_("LEVEL"), MU_OPTION_ARG_OPTIONAL, N_("set code optimization level"), mu_c_string, NULL, opt_optimize }, { "variable", 'v', N_("VAR=VALUE"), MU_OPTION_DEFAULT, N_("assign VALUE to VAR"), mu_c_string, NULL, opt_variable }, { "relayed-domain-file", 0, N_("FILE"), MU_OPTION_DEFAULT, N_("read relayed domains from FILE"), mu_c_string, NULL, opt_relayed_domain_file }, { "resolv-conf-file", 0, N_("FILE"), MU_OPTION_DEFAULT, |