From 9cb1785a68901ce990c7581bd465d0931edf166e Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 30 Sep 2013 20:24:13 +0100 Subject: Do not use MSG_NOSIGNAL on send() in ${udpsend} Some non-Posix systems don't define it. Anyway, Exim ignores SIGPIPE for most purposes. --- src/src/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3