summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2007-03-27 13:22:54 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-03-27 13:22:54 (GMT)
commit5c8e6fe293db01b90db4e7136bc67fff615ce88a (patch) (side-by-side diff)
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') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 65f57fc..438832f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1157,7 +1157,9 @@ parse_opt (int key, char *arg, struct argp_state *state)
break;
case OPTION_LINT:
+ log_to_stderr = 1;
script_check = 1;
+ need_config = 1;
break;
case 'p':
@@ -1738,13 +1740,13 @@ main(int argc, char **argv)
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();

Return to:

Send suggestions and report system problems to the System administrator.