aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-03-09 16:31:14 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2011-03-09 16:31:14 +0200
commit277634ec6dda1a7b7bf35954bfdda28d7df7fdcd (patch)
tree49f9c3e9662bb48ab2a9b69c54cb4b8a613befc9 /src/main.c
parent30dfac6b8bc411481c9dd333bd8baab9e15c2d00 (diff)
downloadmailfromd-277634ec6dda1a7b7bf35954bfdda28d7df7fdcd.tar.gz
mailfromd-277634ec6dda1a7b7bf35954bfdda28d7df7fdcd.tar.bz2
Cleanup.
* po/POTFILES.in: Remove appinit.c (See e473ab7d). * src/Makefile.am: Restore incdir, needed for AM_CPPFLAGS. Was accidentally removed in 01ad06fca. * src/builtin/sa.bi (sa): Restore initialization of msize. Accidentally removed in bcd64af9. * src/main.c: Call mf_server_log_setup after compiling the sources, so that --lint spits out its diagnostics on stderr (initially placed here in e75c9a39).
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 3d0264c9..b16a554f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1185,13 +1185,12 @@ main(int argc, char **argv)
1185 rc = mu_app_init(&argp, capa, mf_cfg_param, argc, argv, 1185 rc = mu_app_init(&argp, capa, mf_cfg_param, argc, argv,
1186 argpflag(argc, argv), &index, &args); 1186 argpflag(argc, argv), &index, &args);
1187 if (rc) 1187 if (rc)
1188 exit(EX_CONFIG); 1188 exit(EX_CONFIG);
1189 flush_arguments(&args); 1189 flush_arguments(&args);
1190 mf_srvcfg_flush(); 1190 mf_srvcfg_flush();
1191 mf_server_log_setup();
1192 1191
1193 alloc_ext_pp(); 1192 alloc_ext_pp();
1194 1193
1195 argv += index; 1194 argv += index;
1196 argc -= index; 1195 argc -= index;
1197 1196
@@ -1251,12 +1250,14 @@ main(int argc, char **argv)
1251 1250
1252 if (script_check || script_dump_macros 1251 if (script_check || script_dump_macros
1253 || script_dump_code || script_dump_tree || script_dump_xref 1252 || script_dump_code || script_dump_tree || script_dump_xref
1254 || yy_flex_debug || script_ydebug) 1253 || yy_flex_debug || script_ydebug)
1255 exit(EX_OK); 1254 exit(EX_OK);
1256 1255
1256 mf_server_log_setup();
1257
1257 switch (mode) { 1258 switch (mode) {
1258 case MAILFROMD_DAEMON: 1259 case MAILFROMD_DAEMON:
1259 provide_default_milter_server(); 1260 provide_default_milter_server();
1260 provide_default_callout_server(); 1261 provide_default_callout_server();
1261 break; 1262 break;
1262 1263

Return to:

Send suggestions and report system problems to the System administrator.