Explorar o código

revert unrelated change that slipped into last commit

Rich Felker %!s(int64=8) %!d(string=hai) anos
pai
achega
39494a273e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);