git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e2be2df
)
Bulid: fix DISABLE_PIPE_CONNECT build. Bug 270333
author
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 23 Feb 2021 17:32:04 +0000
(17:32 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 23 Feb 2021 17:32:04 +0000
(17:32 +0000)
src/src/transports/smtp.c
patch
|
blob
|
history
diff --git
a/src/src/transports/smtp.c
b/src/src/transports/smtp.c
index 7ad2a89ecc236cdceb243c3d37011e77dc98f631..95fa6daa981118cf3786c963ad296e379f90eb89 100644
(file)
--- 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;
}
(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)
{
if (require_auth == OK && !f.smtp_authenticated)
{
+#ifndef DISABLE_PIPE_CONNECT
invalidate_ehlo_cache_entry(sx);
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);
set_errno_nohost(sx->addrlist, ERRNO_AUTHFAIL,
string_sprintf("authentication required but %s", fail_reason), DEFER,
FALSE, &sx->delivery_start);