diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-10-12 14:12:56 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-10-12 14:12:56 +0100 |
commit | efa73277b6cab96e4bed1a5f5d42fd3fcc5d279b (patch) | |
tree | 6eefc06ca5da8fa4574ca741c69e91880c9880e1 | |
parent | 002fcd22b0e14ecb70c8c88a77985e07e7e4f9cd (diff) |
Fix errorcheck in smtp transport
-rw-r--r-- | src/src/transports/smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index fd550efff..c547c87fa 100644 --- 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", |