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:
c45146c
)
Fix debugging output, patch by Hideki IWAMOTO
author
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 5 Mar 2004 13:04:39 +0000
(13:04 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 5 Mar 2004 13:04:39 +0000
(13:04 -0000)
networking/tftp.c
patch
|
blob
|
history
diff --git
a/networking/tftp.c
b/networking/tftp.c
index 92966a253713268eed47a4762269fde9d0700469..10aa63bb97c1e71d44031638f45959ca6f2d1885 100644
(file)
--- a/
networking/tftp.c
+++ b/
networking/tftp.c
@@
-294,7
+294,7
@@
static inline int tftp(const int cmd, const struct hostent *host,
#ifdef CONFIG_FEATURE_TFTP_DEBUG
fprintf(stderr, "sending %u bytes\n", len);
for (cp = buf; cp < &buf[len]; cp++)
- fprintf(stderr, "%02x ", *cp);
+ fprintf(stderr, "%02x ",
(unsigned char)
*cp);
fprintf(stderr, "\n");
#endif
if (sendto(socketfd, buf, len, 0,