projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdbbb04
)
Fix a debug message, from Bastian Blank
author
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 9 Dec 2002 21:05:40 +0000
(21:05 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 9 Dec 2002 21:05:40 +0000
(21:05 -0000)
networking/tftp.c
patch
|
blob
|
history
diff --git
a/networking/tftp.c
b/networking/tftp.c
index 1e1105b4548993e3233281e499795a4639adfc42..af26d4c71fc6057d30930f5a5657f84100218234 100644
(file)
--- a/
networking/tftp.c
+++ b/
networking/tftp.c
@@
-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;