xiaoxiang781216 commented on code in PR #3658:
URL: https://github.com/apache/nuttx-apps/pull/3658#discussion_r3642943371
##########
netutils/telnetd/telnetd_daemon.c:
##########
@@ -125,6 +125,27 @@ int telnetd_daemon(FAR const struct telnetd_config_s
*config)
goto errout;
}
+ /* If the daemon was started without standard streams (e.g. spawned by
+ * nsh_telnetstart() before a USB console exists), socket() may have
+ * returned a descriptor in 0..2. The "go silent" close(0)..close(2)
Review Comment:
could we fix the original problem directly @ricardgb
--
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]