You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/05/06 17:01:32 UTC

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a change in pull request #703: nshlib: Fix the build break in nsh_telnetd.c when CONFIG_NSH_CONSOLE=n

xiaoxiang781216 commented on a change in pull request #703:
URL: https://github.com/apache/incubator-nuttx-apps/pull/703#discussion_r627610133



##########
File path: nshlib/nsh_telnetd.c
##########
@@ -263,7 +266,9 @@ int nsh_telnetstart(sa_family_t family)
        */
 
 #if defined(CONFIG_NSH_ROMFSETC) && !defined(CONFIG_NSH_CONSOLE)
-      nsh_initscript(vtbl);
+      pstate = nsh_newconsole();
+      nsh_initscript(&pstate->cn_vtbl);
+      pstate->cn_vtbl.release(&pstate->cn_vtbl);

Review comment:
       change to nsh_release




-- 
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.

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