From 3eeecdc79095748eb8ac046edee6bf4fe7268060 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 14 Jul 2006 23:00:20 +0000 Subject: don't set MSG_NOSIGNAL for recvmsg(), since it doesn't make sense there git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1084 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/iochannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore') diff --git a/src/pulsecore/iochannel.c b/src/pulsecore/iochannel.c index 842c0e6a..15aa8e35 100644 --- a/src/pulsecore/iochannel.c +++ b/src/pulsecore/iochannel.c @@ -336,7 +336,7 @@ ssize_t pa_iochannel_read_with_creds(pa_iochannel*io, void*data, size_t l, struc mh.msg_controllen = sizeof(cmsg_data); mh.msg_flags = 0; - if ((r = recvmsg(io->ifd, &mh, MSG_NOSIGNAL)) >= 0) { + if ((r = recvmsg(io->ifd, &mh, 0)) >= 0) { struct cmsghdr *cmsg; *creds_valid = 0; -- cgit