acassis commented on code in PR #11856:
URL: https://github.com/apache/nuttx/pull/11856#discussion_r1516127499
##########
net/local/local_accept.c:
##########
@@ -99,7 +98,7 @@ int local_accept(FAR struct socket *psock, FAR struct
sockaddr *addr,
FAR socklen_t *addrlen, FAR struct socket *newsock,
int flags)
{
- FAR struct local_conn_s *server;
+ FAR struct local_conn_s *server = psock->s_conn;
Review Comment:
Yes, but my question was: is the psock and s_conn already DEBUGASSERTed in
high end functions before reaching there? Otherwise we will need it.
--
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]