pkarashchenko commented on code in PR #6161:
URL: https://github.com/apache/incubator-nuttx/pull/6161#discussion_r859632311


##########
net/udp/udp_recvfrom.c:
##########
@@ -351,11 +352,13 @@ static inline void udp_sender(FAR struct net_driver_s 
*dev,
           else
 #endif
             {
+              FAR socklen_t *fromlen = pstate->ir_fromlen;

Review Comment:
   maybe we can have this defined at line 324. I mean define it once and 
clean-up `if (conn->domain == PF_INET6)` and `else` case?



-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to