git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e059caa
)
Bulid: fix DISABLE_PIPE_CONNECT build. Bug 2703
author
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 23 Feb 2021 18:55:33 +0000
(18:55 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 23 Feb 2021 18:55:33 +0000
(18:55 +0000)
(cherry picked from commit
a842359f622190904ceccfff1afff021570566eb
)
src/src/transports/smtp.c
patch
|
blob
|
history
diff --git
a/src/src/transports/smtp.c
b/src/src/transports/smtp.c
index 0c87027f5ff9a2a86a0a5a4f568b46de1e1f606d..6540e4d2bda26190311aa1b1bcbaa65481212a20 100644
(file)
--- a/
src/src/transports/smtp.c
+++ b/
src/src/transports/smtp.c
@@
-1020,7
+1020,7
@@
fail:
(void) smtp_discard_responses(sx, sx->conn_args.ob, *countp);
return rc;
}
-#endif
+#endif
/*!DISABLE_PIPE_CONNECT*/
/*************************************************
@@
-1551,7
+1551,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);