From 3bc3448a61d3de0547552f2e138c3e9db562ae11 Mon Sep 17 00:00:00 2001 From: John Denker Date: Fri, 1 Jan 2016 18:30:16 -0800 Subject: bugfix: unexpected AUTH would cause program to die ungracefully --- qmail-smtpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmail-smtpd.c b/qmail-smtpd.c index 4a35fa1..103d4b5 100644 --- a/qmail-smtpd.c +++ b/qmail-smtpd.c @@ -681,7 +681,7 @@ char *arg; int i; char *cmd = arg; - if (!hostname || !*childargs) + if (!hostname || !childargs) { out("503 auth not available (#5.3.3)\r\n"); return; -- cgit v1.2.3