]> Savannah Git Hosting - gnulib.git/commitdiff
accept4: Fix typo in previous commit
authorEric Blake <eblake@redhat.com>
Tue, 20 Aug 2019 19:33:40 +0000 (14:33 -0500)
committerEric Blake <eblake@redhat.com>
Tue, 20 Aug 2019 19:33:40 +0000 (14:33 -0500)
* lib/accept4.c (accept4): Use correct preprocessor condition.

Signed-off-by: Eric Blake <eblake@redhat.com>
lib/accept4.c

index 9ce78fa9695aeb984327f05e5c4e544085ef84b9..eb8d8b1300abeb1c8d49083c422a181d7fe228b6 100644 (file)
@@ -124,7 +124,7 @@ accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
 # endif
 #endif
 
-#if SOCK_CLOEXEC
+#if SOCK_NONBLOCK
   if (flags & SOCK_NONBLOCK)
     {
       int fcntl_flags;