projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff5747
)
revert unrelated change that slipped into last commit
author
Rich Felker
<dalias@aerifal.cx>
Wed, 13 Jul 2016 19:23:01 +0000
(15:23 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 13 Jul 2016 19:23:01 +0000
(15:23 -0400)
src/passwd/nscd_query.c
patch
|
blob
|
history
diff --git
a/src/passwd/nscd_query.c
b/src/passwd/nscd_query.c
index 1897edc83747e06577ef49f846556610d974cd67..d38e371bcda395855a4e9a125d4a75a115c76416 100644
(file)
--- a/
src/passwd/nscd_query.c
+++ b/
src/passwd/nscd_query.c
@@
-40,7
+40,7
@@
retry:
buf[0] = NSCDVERSION;
fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
- if (fd < 0
&& errno != EAFNOSUPPORT
) return NULL;
+ if (fd < 0) return NULL;
if(!(f = fdopen(fd, "r"))) {
close(fd);