summaryrefslogtreecommitdiff
path: root/apps/examples/ftpc/ftpc_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ftpc/ftpc_cmds.c')
-rwxr-xr-xapps/examples/ftpc/ftpc_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/ftpc/ftpc_cmds.c b/apps/examples/ftpc/ftpc_cmds.c
index f0a0a2413..a4cab45e0 100755
--- a/apps/examples/ftpc/ftpc_cmds.c
+++ b/apps/examples/ftpc/ftpc_cmds.c
@@ -276,7 +276,7 @@ int cmd_rls(SESSION handle, int argc, char **argv)
int cmd_rget(SESSION handle, int argc, char **argv)
{
- FAR const char *lname = argv[1];
+ FAR const char *lname = NULL;
if (argc > 2)
{
@@ -291,7 +291,7 @@ int cmd_rget(SESSION handle, int argc, char **argv)
int cmd_rput(SESSION handle, int argc, char **argv)
{
- FAR const char *rname = argv[1];
+ FAR const char *rname = NULL;
if (argc > 2)
{