NSH TFTP get command: Wrong file name used for the destination. From Lazlo

This commit is contained in:
Gregory Nutt
2014-12-10 18:37:43 -06:00
parent 0bc4962941
commit 308818b718
2 changed files with 5 additions and 4 deletions

View File

@@ -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 */