pkarashchenko commented on code in PR #9814:
URL: https://github.com/apache/nuttx/pull/9814#discussion_r1264084940


##########
net/local/local_netpoll.c:
##########
@@ -168,9 +168,8 @@ int local_pollsetup(FAR struct socket *psock, FAR struct 
pollfd *fds)
     }
 
 #ifdef CONFIG_NET_LOCAL_STREAM
-  if ((conn->lc_state == LOCAL_STATE_LISTENING ||
-       conn->lc_state == LOCAL_STATE_CONNECTING) &&
-       conn->lc_type  == LOCAL_TYPE_PATHNAME)
+  if (conn->lc_state == LOCAL_STATE_LISTENING ||
+       conn->lc_state == LOCAL_STATE_CONNECTING)

Review Comment:
   remove 1 space



##########
net/local/local_netpoll.c:
##########
@@ -322,9 +321,8 @@ int local_pollteardown(FAR struct socket *psock, FAR struct 
pollfd *fds)
     }
 
 #ifdef CONFIG_NET_LOCAL_STREAM
-  if ((conn->lc_state == LOCAL_STATE_LISTENING ||
-       conn->lc_state == LOCAL_STATE_CONNECTING) &&
-       conn->lc_type  == LOCAL_TYPE_PATHNAME)
+  if (conn->lc_state == LOCAL_STATE_LISTENING ||
+       conn->lc_state == LOCAL_STATE_CONNECTING)

Review Comment:
   remove 1 space



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to