diff options
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 } |