diff options
Diffstat (limited to 'nuttx/netutils/tftpc/tftpc_get.c')
-rw-r--r-- | nuttx/netutils/tftpc/tftpc_get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/netutils/tftpc/tftpc_get.c b/nuttx/netutils/tftpc/tftpc_get.c index bb2f96267..584664599 100644 --- a/nuttx/netutils/tftpc/tftpc_get.c +++ b/nuttx/netutils/tftpc/tftpc_get.c @@ -262,7 +262,7 @@ int tftpget(const char *remote, const char *local, in_addr_t addr, boolean binar /* Parse the incoming DATA packet */ if (nbytesrecvd < TFTP_DATAHEADERSIZE || - tftp_parsedatapacket(packet, &opcode, &blockno) != OK || + tftp_parsedatapacket(packet, &opcode, &rblockno) != OK || blockno != rblockno) { nvdbg("Parse failure\n"); |