aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-03-27 13:22:54 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-03-27 13:22:54 +0000
commit5c8e6fe293db01b90db4e7136bc67fff615ce88a (patch)
tree74961515f43058b91372e39a9e7e14d0c91a74a2 /src/main.c
parentb9652b80856eaaca61b6944d44064bc39c3adacc (diff)
downloadmailfromd-5c8e6fe293db01b90db4e7136bc67fff615ce88a.tar.gz
mailfromd-5c8e6fe293db01b90db4e7136bc67fff615ce88a.tar.bz2
Bugfix
git-svn-id: file:///svnroot/mailfromd/trunk@1315 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 65f57fc3..438832ff 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1154,13 +1154,15 @@ parse_opt (int key, char *arg, struct argp_state *state)
case OPTION_LOG_TAG:
syslog_tag = arg;
break;
case OPTION_LINT:
+ log_to_stderr = 1;
script_check = 1;
+ need_config = 1;
break;
case 'p':
set_option("port", arg, 1);
break;
@@ -1735,19 +1737,19 @@ main(int argc, char **argv)
} else
gacopyz_set_logger (gacopyz_stderr_log_printer);
if (script_dump_macros)
print_used_macros();
+ fixup_code();
+
if (script_check || script_dump_macros
|| script_dump_code || script_dump_tree
|| script_ldebug || script_ydebug)
exit(EX_OK);
- fixup_code();
-
free_symbols();
free_string_space();
switch (mode) {
case MAILFROMD_COMPACT:
mailfromd_compact();

Return to:

Send suggestions and report system problems to the System administrator.