From 944bf89644559cd2ae021122451ff5d0a740cb85 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 2 Jun 2011 20:45:35 +0000 Subject: More FTP client fixes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3661 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/ftpc/ftpc_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/examples/ftpc') diff --git a/apps/examples/ftpc/ftpc_main.c b/apps/examples/ftpc/ftpc_main.c index abca07089..991b3e9da 100755 --- a/apps/examples/ftpc/ftpc_main.c +++ b/apps/examples/ftpc/ftpc_main.c @@ -95,6 +95,7 @@ static const struct cmdmap_s g_cmdmap[] = { "size", cmd_rsize, 2, 2, "" }, { "time", cmd_rtime, 2, 2, "" }, { "up", cmd_rcdup, 1, 1, "" }, + { NULL, NULL, 1, 1, NULL } }; static char g_line[CONFIG_FTPC_LINELEN]; @@ -383,7 +384,7 @@ int ftpc_main(int argc, char **argv, char **envp) /* Present a greeting */ - printf("FTPC:\n"); + printf("NuttX FTP Client:\n"); FFLUSH(); /* Then enter the command line parsing loop */ @@ -392,7 +393,7 @@ int ftpc_main(int argc, char **argv, char **envp) { /* Display the prompt string */ - fputs("FTPC>", stdout); + fputs("nfc> ", stdout); FFLUSH(); /* Get the next line of input */ -- cgit v1.2.3