From eb4d3300acdff3332ca4ad06ff1a5ae3bbc1449d Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 2 Dec 2007 15:11:32 +0000 Subject: Add send() timeout logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@420 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/net/accept.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'nuttx/net/accept.c') diff --git a/nuttx/net/accept.c b/nuttx/net/accept.c index 8c32eac3a..0541fa061 100644 --- a/nuttx/net/accept.c +++ b/nuttx/net/accept.c @@ -111,12 +111,7 @@ static inline void accept_tcpsender(struct uip_conn *conn, struct accept_s *psta { addr->sin_family = AF_INET; addr->sin_port = conn->rport; - -#ifdef CONFIG_NET_IPv6 uip_ipaddr_copy(addr->sin_addr.s_addr, conn->ripaddr); -#else - uip_ipaddr_copy(addr->sin_addr.s_addr, conn->ripaddr); -#endif } } #endif @@ -400,4 +395,4 @@ errout: return ERROR; } -#endif /* CONFIG_NET && CONFIG_NSOCKET_DESCRIPTORS && CONFIG_NET_TCP*/ +#endif /* CONFIG_NET && CONFIG_NSOCKET_DESCRIPTORS && CONFIG_NET_TCP */ -- cgit v1.2.3