From 31f3f990c3f829b8a6a6184481e68337f2c643ef Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Wed, 25 Oct 2017 07:23:48 -0600 Subject: [PATCH] net/local: fix typo in config macro name --- net/local/local_sockif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/local/local_sockif.c b/net/local/local_sockif.c index 5e63f48e99d..60d0b6cb9b7 100644 --- a/net/local/local_sockif.c +++ b/net/local/local_sockif.c @@ -298,7 +298,7 @@ static int local_bind(FAR struct socket *psock, { /* Bind a local TCP/IP stream or datagram socket */ -#if defined(ONFIG_NET_TCP) || defined(CONFIG_NET_LOCAL_DGRAM) +#if defined(CONFIG_NET_LOCAL_STREAM) || defined(CONFIG_NET_LOCAL_DGRAM) #ifdef CONFIG_NET_LOCAL_STREAM case SOCK_STREAM: #endif @@ -318,7 +318,7 @@ static int local_bind(FAR struct socket *psock, } } break; -#endif /* CONFIG_NET_LOCAL_STREAM || CONFIG_NET_LOCAL_DGRAM*/ +#endif /* CONFIG_NET_LOCAL_STREAM || CONFIG_NET_LOCAL_DGRAM */ default: ret = -EBADF; @@ -788,7 +788,7 @@ static int local_close(FAR struct socket *psock) return OK; } -#endif /* CONFIG_NET_LOCAL_STREAM || CONFIG_NET_LOCAL_DGRAM*/ +#endif /* CONFIG_NET_LOCAL_STREAM || CONFIG_NET_LOCAL_DGRAM */ default: return -EBADF;