1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

f tftp: address @aabadie comments.

This commit is contained in:
kYc0o 2017-04-04 14:02:36 +02:00
parent bd81e010f8
commit e2e1500c6d

View File

@ -1121,8 +1121,8 @@ int _tftp_process_data(tftp_context_t *ctxt, gnrc_pktsnip_t *buf)
return TS_FAILED;
}
if (block_nr < (ctxt->block_nr + 1)) {
DEBUG("tftp: not the packet we were wating for, expected %d, received %d\n",
(uint16_t)(ctxt->block_nr + 1), block_nr);
DEBUG("tftp: not the packet we were waiting for, expected %d, received %d\n",
(uint16_t)(ctxt->block_nr + 1), block_nr);
return TS_DUP;
}