From: Rich Felker Date: Wed, 13 Jul 2016 19:23:01 +0000 (-0400) Subject: revert unrelated change that slipped into last commit X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e;p=musl revert unrelated change that slipped into last commit --- 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);