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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]