summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/iochannel.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-07-14 23:00:20 +0000
committerLennart Poettering <lennart@poettering.net>2006-07-14 23:00:20 +0000
commit3eeecdc79095748eb8ac046edee6bf4fe7268060 (patch)
treee7add76cd04465a408516887dd1d04294094ddad /src/pulsecore/iochannel.c
parent860be2e70b33ff5eeb9130f80c4b1c096a2a8f27 (diff)
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
Diffstat (limited to 'src/pulsecore/iochannel.c')
-rw-r--r--src/pulsecore/iochannel.c2
1 files changed, 1 insertions, 1 deletions
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;