summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-02-23 17:32:04 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-02-23 17:32:04 +0000
commita842359f622190904ceccfff1afff021570566eb (patch)
tree38ea21d5ecb1b3432ce6054f57ab9a33a0d69cb3 /src
parente2be2df5c0760e2b6a7870c88ad486a23f5e4b01 (diff)
Bulid: fix DISABLE_PIPE_CONNECT build. Bug 270333
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index 7ad2a89ec..95fa6daa9 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -969,7 +969,7 @@ fail:
(void) smtp_discard_responses(sx, sx->conn_args.ob, *countp);
return rc;
}
-#endif
+#endif /*!DISABLE_PIPE_CONNECT*/
/*************************************************
@@ -1500,7 +1500,9 @@ if ( sx->esmtp
if (require_auth == OK && !f.smtp_authenticated)
{
+#ifndef DISABLE_PIPE_CONNECT
invalidate_ehlo_cache_entry(sx);
+#endif
set_errno_nohost(sx->addrlist, ERRNO_AUTHFAIL,
string_sprintf("authentication required but %s", fail_reason), DEFER,
FALSE, &sx->delivery_start);