summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2011-03-07 13:52:54 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-03-07 13:52:54 (GMT)
commite473ab7df422543a458a1226b1dd8e5febea2c35 (patch) (side-by-side diff)
tree3e31e4ba702c090144daf1a277f6867ce2063a88 /src/main.c
parentdc600bc236006a0ad672d2f07145576a7584bab5 (diff)
downloadmailfromd-e473ab7df422543a458a1226b1dd8e5febea2c35.tar.gz
mailfromd-e473ab7df422543a458a1226b1dd8e5febea2c35.tar.bz2
Sync with MU commit 4bcd5c9de0cb6ca85bcc3a35b1518739b939b009.
* lib/appinit.c: Remove. * lib/Makefile.am (libmf_a_SOURCES): Remove appinit.c * lib/libmf.h (mu_app_rcfile, mfd_app_init): Remove. * src/calloutd.c (main): Use mu_app_init. Set mu_site_rcfile beforehand. * src/main.c (main): Likewise. * src/mfdbtool.c (main): Likewise.
Diffstat (limited to 'src/main.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 5ac3d8f..01fd14b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1160,10 +1160,10 @@ main(int argc, char **argv)
mf_srvcfg_init(argv[0], N_("(milter | callout)"));
mu_argp_init(program_version, "<" PACKAGE_BUGREPORT ">");
- mu_app_rcfile = DEFAULT_CONFIG_FILE;
+ mu_site_rcfile = DEFAULT_CONFIG_FILE;
init_arguments(&args);
- rc = mfd_app_init(&argp, capa, mf_cfg_param, argc, argv,
- argpflag(argc, argv), &index, &args, NULL);
+ rc = mu_app_init(&argp, capa, mf_cfg_param, argc, argv,
+ argpflag(argc, argv), &index, &args);
if (rc)
exit(EX_CONFIG);
flush_arguments(&args);

Return to:

Send suggestions and report system problems to the System administrator.