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:
dbc049f
)
2005-03-19 Shaun Jackman <sjackman@gmail.com>
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 26 Jul 2005 23:00:59 +0000
(23:00 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 26 Jul 2005 23:00:59 +0000
(23:00 -0000)
* networking/ping.c (ping): Change the type of fromlen to socklen_t.
networking/ping.c
patch
|
blob
|
history
diff --git
a/networking/ping.c
b/networking/ping.c
index c7cbd7078a0b4b767640b3e35cd8220adee0ae4c..bba37a0253c247e7a750dd9e505ebb518971b3cc 100644
(file)
--- a/
networking/ping.c
+++ b/
networking/ping.c
@@
-136,7
+136,7
@@
static void ping(const char *host)
/* listen for replies */
while (1) {
struct sockaddr_in from;
- s
ize
_t fromlen = sizeof(from);
+ s
ocklen
_t fromlen = sizeof(from);
if ((c = recvfrom(pingsock, packet, sizeof(packet), 0,
(struct sockaddr *) &from, &fromlen)) < 0) {