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:
44e216f
)
- use bb_xbind
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sat, 10 Jun 2006 11:39:09 +0000
(11:39 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sat, 10 Jun 2006 11:39:09 +0000
(11:39 -0000)
Thanks Erik Hovland
networking/tftp.c
patch
|
blob
|
history
diff --git
a/networking/tftp.c
b/networking/tftp.c
index 73a5adae5171cfc1eb52ce538339e3b38196c23a..527e3dc1169036afb4d6b7ce1d859dc20623e7e1 100644
(file)
--- a/
networking/tftp.c
+++ b/
networking/tftp.c
@@
-172,7
+172,7
@@
static inline int tftp(const int cmd, const struct hostent *host,
len = sizeof(sa);
memset(&sa, 0, len);
- bind(socketfd, (struct sockaddr *)&sa, len);
+ b
b_xb
ind(socketfd, (struct sockaddr *)&sa, len);
sa.sin_family = host->h_addrtype;
sa.sin_port = port;