You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/04/03 08:33:36 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5967: net:fix coverity warning

xiaoxiang781216 commented on a change in pull request #5967:
URL: https://github.com/apache/incubator-nuttx/pull/5967#discussion_r841186252



##########
File path: net/socket/connect.c
##########
@@ -140,7 +140,7 @@ int psock_connect(FAR struct socket *psock, FAR const struct sockaddr *addr,
   if (ret >= 0)
     {
       FAR struct socket_conn_s *conn = psock->s_conn;
-      conn->s_flags |= _SF_CONNECTED;        

Review comment:
       nxstyle is hard to find the check duplication.




-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org