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
(parent:
002fcd2
)
Fix errorcheck in smtp transport
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 12 Oct 2019 13:12:56 +0000
(14:12 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 12 Oct 2019 13:12:56 +0000
(14:12 +0100)
src/src/transports/smtp.c
patch
|
blob
|
history
diff --git
a/src/src/transports/smtp.c
b/src/src/transports/smtp.c
index fd550efff32b7f073a4e8f162d88de7f1a56a69b..c547c87faec807f6f0d166e02b72513bfd8aae00 100644
(file)
--- a/
src/src/transports/smtp.c
+++ b/
src/src/transports/smtp.c
@@
-4285,7
+4285,7
@@
if (sx.completed_addr && sx.ok && sx.send_quit)
/* Set up a pipe for proxying TLS for the new transport process */
smtp_peer_options |= OPTION_TLS;
- if (
sx.ok = (
socketpair(AF_UNIX, SOCK_STREAM, 0, pfd) == 0))
+ if (
(sx.ok =
socketpair(AF_UNIX, SOCK_STREAM, 0, pfd) == 0))
socket_fd = pfd[1];
else
set_errno(sx.first_addr, errno, US"internal allocation problem",