diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-10 18:37:43 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-10 18:37:43 -0600 |
commit | 1da6966e3b44d9b995b82391c48112105a082446 (patch) | |
tree | 67504d54e02be3c14b27b78c6a9c283e50193f6c /apps/nshlib/nsh_netcmds.c | |
parent | 3182a60d169d80a6541dd28f5eead48e632c3300 (diff) | |
download | nuttx-1da6966e3b44d9b995b82391c48112105a082446.tar.gz nuttx-1da6966e3b44d9b995b82391c48112105a082446.tar.bz2 nuttx-1da6966e3b44d9b995b82391c48112105a082446.zip |
NSH TFTP get command: Wrong file name used for the destination. From Lazlo
Diffstat (limited to 'apps/nshlib/nsh_netcmds.c')
-rw-r--r-- | apps/nshlib/nsh_netcmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c index f7cd9dc90..798879b55 100644 --- a/apps/nshlib/nsh_netcmds.c +++ b/apps/nshlib/nsh_netcmds.c @@ -504,7 +504,7 @@ int cmd_get(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) /* Get the full path to the local file */ - fullpath = nsh_getfullpath(vtbl, args.srcpath); + fullpath = nsh_getfullpath(vtbl, args.destpath); /* Then perform the TFTP get operation */ |