diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-07-13 15:23:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-07-13 15:23:01 -0400 |
commit | 39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e (patch) | |
tree | d69ce397913fe2b0197013521d7a27e964f74097 /src/passwd | |
parent | cff5747c74c41b22f1ce1340978b1c226a8cdf32 (diff) | |
download | musl-39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e.tar.gz musl-39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e.tar.bz2 musl-39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e.tar.xz musl-39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e.zip |
revert unrelated change that slipped into last commit
Diffstat (limited to 'src/passwd')
-rw-r--r-- | src/passwd/nscd_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passwd/nscd_query.c b/src/passwd/nscd_query.c index 1897edc8..d38e371b 100644 --- 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); |