summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2013-09-30 20:24:13 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2013-09-30 22:44:43 +0100
commit9cb1785a68901ce990c7581bd465d0931edf166e (patch)
tree665c2882070d38c39e1d6db4278ef9f9c936ceec
parent05070e30ddf4711848752213928f862ada1a509e (diff)
downloadexim4-9cb1785a68901ce990c7581bd465d0931edf166e.tar.gz
Do not use MSG_NOSIGNAL on send() in ${udpsend}
Some non-Posix systems don't define it. Anyway, Exim ignores SIGPIPE for most purposes.
-rw-r--r--src/src/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/acl.c b/src/src/acl.c
index e3efb7ed8..520375ab4 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -2901,7 +2901,7 @@ if (r < 0) goto defer;
r = ip_connect(s, host_af, h->address, portnum, 1);
if (r < 0) goto defer;
len = Ustrlen(arg);
-r = send(s, arg, len, MSG_NOSIGNAL);
+r = send(s, arg, len, 0);
if (r < 0) goto defer;
if (r < len)
{