From 39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 13 Jul 2016 15:23:01 -0400 Subject: [PATCH] revert unrelated change that slipped into last commit --- src/passwd/nscd_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1