diff options
Diffstat (limited to 'apps/examples/ftpc/ftpc_cmds.c')
-rwxr-xr-x | apps/examples/ftpc/ftpc_cmds.c | 4 |
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)
{
|