commit | 39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Wed Jul 13 15:23:01 2016 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Wed Jul 13 15:23:01 2016 -0400 |
tree | d69ce397913fe2b0197013521d7a27e964f74097 | |
parent | cff5747c74c41b22f1ce1340978b1c226a8cdf32 [diff] |
revert unrelated change that slipped into last commit
diff --git a/src/passwd/nscd_query.c b/src/passwd/nscd_query.c index 1897edc..d38e371 100644 --- a/src/passwd/nscd_query.c +++ b/src/passwd/nscd_query.c
@@ -40,7 +40,7 @@ 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);