diff options
Diffstat (limited to 'ext/socket/unixsocket.c')
-rw-r--r-- | ext/socket/unixsocket.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c index e5ef44c93e..2954cef433 100644 --- a/ext/socket/unixsocket.c +++ b/ext/socket/unixsocket.c @@ -265,11 +265,7 @@ recvmsg_blocking(void *data) { struct iomsg_arg *arg = data; int flags = 0; -#ifdef MSG_CMSG_CLOEXEC - /* MSG_CMSG_CLOEXEC is available since Linux 2.6.23. Linux 2.6.18 silently ignore it. */ - flags |= MSG_CMSG_CLOEXEC; -#endif - return recvmsg(arg->fd, &arg->msg, flags); + return rsock_recvmsg(arg->fd, &arg->msg, flags); } /* |