diff options
Diffstat (limited to 'nuttx/net/accept.c')
-rw-r--r-- | nuttx/net/accept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/accept.c b/nuttx/net/accept.c index a9701b2d5..c2e64153c 100644 --- a/nuttx/net/accept.c +++ b/nuttx/net/accept.c @@ -318,7 +318,7 @@ int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen) * (so that it cannot fail later) */ - newfd = sockfd_allocate(); + newfd = sockfd_allocate(0); if (newfd < 0) { err = ENFILE; |