path: root/src
authorSergey Poznyakoff <>2018-11-07 11:04:07 (GMT)
committer Sergey Poznyakoff <>2018-11-07 11:09:56 (GMT)
commitaf64e30e538bd8d227432119ab3f54ac8deb03a2 (patch) (side-by-side diff)
tree5e142e4bbeb24805dbce8b98bf17f3606782a450 /src
parent29583de41d70ec5ef37e87fa1ddddc0f7a15539f (diff)
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)
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
@@ -532,49 +532,49 @@ static struct mu_option mailfromd_options[] = {
mu_c_string, NULL, opt_daemon },
N_("preprocess source files and exit"),
mu_c_bool, &preprocess_option },
/* Reserved for future use: */
{ "compile", 'c', NULL, MU_OPTION_HIDDEN,
N_("compile files"),
mu_c_void },
{ "load", 'l', N_("FILE"), MU_OPTION_HIDDEN,
N_("load library"),
mu_c_void },
{ "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,
N_("read resolver configuration from FILE"),
mu_c_string, &resolv_conf_file },
MU_OPTION_GROUP(N_("Preprocessor options")),
{ "preprocessor", 0, N_("COMMAND"), MU_OPTION_DEFAULT,
N_("use command as external preprocessor"),
mu_c_string, &ext_pp },
{ "no-preprocessor", 0, NULL, MU_OPTION_DEFAULT,
N_("disable the use of external preprocessor"),
mu_c_string, NULL, opt_clear_ext_pp },
{ "define", 'D', N_("NAME[=VALUE]"), MU_OPTION_DEFAULT,
N_("define a preprocessor symbol NAME as having VALUE, or empty"),

Return to:

Send suggestions and report system problems to the System administrator.