diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-03 22:53:36 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-03 22:53:36 +0000 |
commit | ad9530eeb839266cc6fa940624dce885f5693a2e (patch) | |
tree | 4c9555e7ee46c211847759affee04a7737ce6d4f /apps/examples/ftpc/ftpc_cmds.c | |
parent | 92fd8f5221ca528c2def13897c712d558adf1675 (diff) | |
download | nuttx-ad9530eeb839266cc6fa940624dce885f5693a2e.tar.gz nuttx-ad9530eeb839266cc6fa940624dce885f5693a2e.tar.bz2 nuttx-ad9530eeb839266cc6fa940624dce885f5693a2e.zip |
More FTP fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3666 42af7a65-404d-4744-a932-0658087f49c3
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)
{
|