chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree-wide: drop MSG_NOSIGNAL flag from recvmsg() invocations
[elogind.git]
/
src
/
basic
/
socket-util.c
diff --git
a/src/basic/socket-util.c
b/src/basic/socket-util.c
index f27816fdeec61c315efcfffbbc2ad5fa59829bdf..7958e815b85e5373b21e604ac178591752656782 100644
(file)
--- a/
src/basic/socket-util.c
+++ b/
src/basic/socket-util.c
@@
-1085,7
+1085,7
@@
int receive_one_fd(int transport_fd, int flags) {
* combination with send_one_fd().
*/
- if (recvmsg(transport_fd, &mh, MSG_
NOSIGNAL | MSG_
CMSG_CLOEXEC | flags) < 0)
+ if (recvmsg(transport_fd, &mh, MSG_CMSG_CLOEXEC | flags) < 0)
return -errno;
CMSG_FOREACH(cmsg, &mh) {