aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2020-06-06 23:08:36 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2020-06-06 23:08:36 +0300
commitc97c4c607b8a6bffc2f742dadb2b185cb80a274a (patch)
tree24e3070f66d55344002f6823b54bdefb5e5effda
parent8f45b95d03861afdfe4e889d43a49e7731e6e237 (diff)
downloadanubis-c97c4c607b8a6bffc2f742dadb2b185cb80a274a.tar.gz
anubis-c97c4c607b8a6bffc2f742dadb2b185cb80a274a.tar.bz2
Bugfixes.
* src/anubisusr.c (synch): Fix premature free. * src/env.opt (--pid-file): Don't disable termlevel.
-rw-r--r--src/anubisusr.c2
-rw-r--r--src/env.opt1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/anubisusr.c b/src/anubisusr.c
index 5020857..8562880 100644
--- a/src/anubisusr.c
+++ b/src/anubisusr.c
@@ -891,7 +891,6 @@ synch (void)
smtp_reply_free (repl);
return 1;
}
- smtp_reply_free (repl);
smtp_ehlo (1);
@@ -910,6 +909,7 @@ synch (void)
if (!smtp_reply_has_capa (smtp_capa, "XDATABASE", NULL))
{
error (_("Remote party does not reveal XDATABASE capability"));
+ smtp_reply_free (repl);
smtp_quit ();
return 1;
}
diff --git a/src/env.opt b/src/env.opt
index ec4bd76..111883a 100644
--- a/src/env.opt
+++ b/src/env.opt
@@ -158,7 +158,6 @@ OPTION(pid-file,, FILE,
Store the PID of the running daemon in FILE)
BEGIN
pidfile = optarg;
- rc_disable_keyword (CF_INIT | CF_SUPERVISOR, "termlevel");
END
OPTIONS_END

Return to:

Send suggestions and report system problems to the System administrator.