summaryrefslogtreecommitdiff
path: root/apps/examples/ftpc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-02 20:45:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-02 20:45:35 +0000
commit944bf89644559cd2ae021122451ff5d0a740cb85 (patch)
treee60ca1e429abad6bee12af28d65c0f72f795c9c4 /apps/examples/ftpc
parent146ccad3863879e9acc928cc2b2087cb45abe4d9 (diff)
downloadnuttx-944bf89644559cd2ae021122451ff5d0a740cb85.tar.gz
nuttx-944bf89644559cd2ae021122451ff5d0a740cb85.tar.bz2
nuttx-944bf89644559cd2ae021122451ff5d0a740cb85.zip
More FTP client fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3661 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/ftpc')
-rwxr-xr-xapps/examples/ftpc/ftpc_main.c5
1 files changed, 3 insertions, 2 deletions
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, "<filepath>" },
{ "time", cmd_rtime, 2, 2, "<filepath>" },
{ "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 */