Browse Source

revert unrelated change that slipped into last commit

Rich Felker 8 years ago
parent
commit
39494a273e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/passwd/nscd_query.c

+ 1 - 1
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);