diff options
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index af26d4c71..a3808f5bf 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -421,7 +421,7 @@ static inline int tftp(const int cmd, const struct hostent *host, | |||
421 | #ifdef CONFIG_FEATURE_TFTP_DEBUG | 421 | #ifdef CONFIG_FEATURE_TFTP_DEBUG |
422 | printf("using blksize %u\n", blksize); | 422 | printf("using blksize %u\n", blksize); |
423 | #endif | 423 | #endif |
424 | tftp_bufsize = foo + 4; | 424 | tftp_bufsize = blksize + 4; |
425 | block_nr = 0; | 425 | block_nr = 0; |
426 | continue; | 426 | continue; |
427 | } | 427 | } |