mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Fix a debug message, from Bastian Blank
This commit is contained in:
parent
fdbbb04893
commit
fad90db887
@ -407,9 +407,9 @@ static inline int tftp(const int cmd, const struct hostent *host,
|
||||
"blksize");
|
||||
|
||||
if (res) {
|
||||
int foo = atoi(res);
|
||||
int blksize = atoi(res);
|
||||
|
||||
if (tftp_blocksize_check(foo,
|
||||
if (tftp_blocksize_check(blksize,
|
||||
tftp_bufsize - 4)) {
|
||||
|
||||
if (cmd_put) {
|
||||
@ -419,7 +419,7 @@ static inline int tftp(const int cmd, const struct hostent *host,
|
||||
opcode = TFTP_ACK;
|
||||
}
|
||||
#ifdef CONFIG_FEATURE_TFTP_DEBUG
|
||||
printf("using blksize %u\n");
|
||||
printf("using blksize %u\n", blksize);
|
||||
#endif
|
||||
tftp_bufsize = foo + 4;
|
||||
block_nr = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user