RTEMS | ftpd.c: Do not use negative socket descriptor (!173)

Amar Takhar (@amar) gitlab at rtems.org
Fri Aug 9 19:09:35 UTC 2024




Amar Takhar commented on a discussion on cpukit/ftpd/ftpd.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/173#note_110795

 >    struct timeval tv;
 >    int len = sizeof(tv);
 >  
 > +  if(s < 0)

Fixed in !181

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/173#note_110795
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240809/b57661b3/attachment.htm>


More information about the bugs mailing list