summaryrefslogtreecommitdiffstats
path: root/base/posix
diff options
context:
space:
mode:
Diffstat (limited to 'base/posix')
-rw-r--r--base/posix/unix_domain_socket.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/posix/unix_domain_socket.cc b/base/posix/unix_domain_socket.cc
index 730657d..17aa6e5 100644
--- a/base/posix/unix_domain_socket.cc
+++ b/base/posix/unix_domain_socket.cc
@@ -43,7 +43,7 @@ bool UnixDomainSocket::SendMsg(int fd,
msg.msg_controllen = cmsg->cmsg_len;
}
- const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, 0));
+ const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, MSG_NOSIGNAL));
const bool ret = static_cast<ssize_t>(length) == r;
delete[] control_buffer;
return ret;