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:
ca17c93
)
Tweak from Sean Jackman: use socklen_t instead of size_t for a declaration.
author
Rob Landley
<rob@landley.net>
Mon, 25 Jul 2005 01:46:24 +0000
(
01:46
-0000)
committer
Rob Landley
<rob@landley.net>
Mon, 25 Jul 2005 01:46:24 +0000
(
01:46
-0000)
busybox/networking/ping.c
patch
|
blob
|
history
diff --git
a/busybox/networking/ping.c
b/busybox/networking/ping.c
index 50f3930ff8ad8732b878eee466f57a8cc3d61c93..ddbca2064564a7683d3bf12aa111a2c36a8c1c14 100644
(file)
--- a/
busybox/networking/ping.c
+++ b/
busybox/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) {