summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-03-21 11:34:22 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-03-21 11:34:22 +0000
commite01d111e5565ac1962804750bd14a16efc7226d6 (patch)
tree6cedc21bd505437e900289be7548e43f7d7b6370
parentd4772796b757d1e8120ee3384e5780ca87f9561a (diff)
Pipe transport, part two. Bug 2257exim-4_91_RC2
-rw-r--r--src/src/transport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/transport.c b/src/src/transport.c
index 073c4ad65..f24b7794b 100644
--- a/src/src/transport.c
+++ b/src/src/transport.c
@@ -263,7 +263,8 @@ for (i = 0; i < 100; i++)
tls_out.active == fd ? tls_write(FALSE, block, len, more) :
#endif
#ifdef MSG_MORE
- more ? send(fd, block, len, MSG_MORE) :
+ more && !(tctx->options & topt_not_socket)
+ ? send(fd, block, len, MSG_MORE) :
#endif
write(fd, block, len);