diff options
Diffstat (limited to 'nuttx/net')
-rw-r--r-- | nuttx/net/net_poll.c | 1 | ||||
-rw-r--r-- | nuttx/net/uip/uip_tcpcallback.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/net/net_poll.c b/nuttx/net/net_poll.c index adbd9c101..fac6186c4 100644 --- a/nuttx/net/net_poll.c +++ b/nuttx/net/net_poll.c @@ -325,6 +325,7 @@ int net_poll(int sockfd, struct pollfd *fds, boolean setup) #endif /* Check if we are setting up or tearing down the poll */ + if (setup) { /* Perform the TCP/IP poll() setup */ diff --git a/nuttx/net/uip/uip_tcpcallback.c b/nuttx/net/uip/uip_tcpcallback.c index 45c970a90..600000043 100644 --- a/nuttx/net/uip/uip_tcpcallback.c +++ b/nuttx/net/uip/uip_tcpcallback.c @@ -1,7 +1,7 @@ /**************************************************************************** * net/uip/uip_tcpcallback.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 |