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
This commit is contained in:
Lennart Poettering 2006-07-14 23:00:20 +00:00
parent 860be2e70b
commit 3eeecdc790

View file

@ -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_controllen = sizeof(cmsg_data);
mh.msg_flags = 0; mh.msg_flags = 0;
if ((r = recvmsg(io->ifd, &mh, MSG_NOSIGNAL)) >= 0) { if ((r = recvmsg(io->ifd, &mh, 0)) >= 0) {
struct cmsghdr *cmsg; struct cmsghdr *cmsg;
*creds_valid = 0; *creds_valid = 0;