diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-14 09:43:59 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-14 09:43:59 -0600 |
commit | 37a1adc0053c37b3bc70379f489f93359724186a (patch) | |
tree | 704748a5735f9f304ca278c8236840d41712cffd /nuttx/net/socket.c | |
parent | 98a3d56a2faac2bb5301d8c47f11749614ba3e77 (diff) | |
download | px4-nuttx-37a1adc0053c37b3bc70379f489f93359724186a.tar.gz px4-nuttx-37a1adc0053c37b3bc70379f489f93359724186a.tar.bz2 px4-nuttx-37a1adc0053c37b3bc70379f489f93359724186a.zip |
Changes to correct TCP write buffereing build errors
Diffstat (limited to 'nuttx/net/socket.c')
-rw-r--r-- | nuttx/net/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/socket.c b/nuttx/net/socket.c index 460089b3d..910154de9 100644 --- a/nuttx/net/socket.c +++ b/nuttx/net/socket.c @@ -128,7 +128,7 @@ int psock_socket(int domain, int type, int protocol, FAR struct socket *psock) psock->s_type = type; psock->s_conn = NULL; -#ifdef CONFIG_NET_TCP_WRBUFFER +#ifdef CONFIG_NET_TCP_WRITE_BUFFERS psock->s_sndcb = NULL; #endif @@ -158,7 +158,7 @@ int psock_socket(int domain, int type, int protocol, FAR struct socket *psock) DEBUGASSERT(conn->crefs == 0); psock->s_conn = conn; conn->crefs = 1; -#ifdef CONFIG_NET_TCP_WRBUFFER +#ifdef CONFIG_NET_TCP_WRITE_BUFFERS psock->s_sndcb = NULL; #endif } |