Skip to content
Snippets Groups Projects
Commit 7e7d228c authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Update a comment

parent 5a2bcb9f
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ int accept(int sockfd, FAR struct sockaddr *addr, FAR socklen_t *addrlen)
goto errout_with_socket;
}
/* Initialize the socket structure and mark the socket as connected. */
/* Initialize the socket structure. */
pnewsock->s_domain = psock->s_domain;
pnewsock->s_type = SOCK_STREAM;
......@@ -304,7 +304,7 @@ int accept(int sockfd, FAR struct sockaddr *addr, FAR socklen_t *addrlen)
}
#endif /* CONFIG_NET_TCP */
/* Mark the socket as connected. */
/* Mark the new socket as connected. */
pnewsock->s_flags |= _SF_CONNECTED;
pnewsock->s_flags &= ~_SF_CLOSED;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment