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

Amar Takhar (@amar) gitlab at rtems.org
Thu Aug 8 01:54:31 UTC 2024



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/173 was reviewed by Amar Takhar

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

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

Is it worth a comment as to why that's there? Seems pretty random in context.




-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/173
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/20240808/e9422479/attachment.htm>


More information about the bugs mailing list