diff options
Diffstat (limited to 'nuttx/net/listen.c')
-rw-r--r-- | nuttx/net/listen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/net/listen.c b/nuttx/net/listen.c index b4d519d9b..c28f9fae0 100644 --- a/nuttx/net/listen.c +++ b/nuttx/net/listen.c @@ -1,7 +1,7 @@ /**************************************************************************** * net/listen.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -43,6 +43,7 @@ #include <sys/types.h> #include <sys/socket.h> #include <errno.h> +#include <debug.h> #include "net_internal.h" @@ -96,7 +97,7 @@ int listen(int sockfd, int backlog) if (!psock || psock->s_crefs <= 0) { /* It is not a valid socket description. Distinguish between the cases - * where sockfd is a just valid and when it is a valid file descriptor used + * where sockfd is a just invalid and when it is a valid file descriptor used * in the wrong context. */ |