From: Eric Blake Date: Tue, 20 Aug 2019 19:33:40 +0000 (-0500) Subject: accept4: Fix typo in previous commit X-Git-Tag: v1.0~4705 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e014d20b39510dce9947655fad15192ec519786f;p=gnulib.git accept4: Fix typo in previous commit * lib/accept4.c (accept4): Use correct preprocessor condition. Signed-off-by: Eric Blake --- diff --git a/lib/accept4.c b/lib/accept4.c index 9ce78fa969..eb8d8b1300 100644 --- a/lib/accept4.c +++ b/lib/accept4.c @@ -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;