diff options
author | Mike Frysinger | 2005-07-26 23:00:59 +0000 |
---|---|---|
committer | Mike Frysinger | 2005-07-26 23:00:59 +0000 |
commit | 03e827a42273b11a540e53469486620d86c998c7 (patch) | |
tree | c75b6b23823b56195e1d8392dc1102d4dd14e1fe | |
parent | dbc049fda45ab9527c893c9d942528edd8e35905 (diff) | |
download | busybox-03e827a42273b11a540e53469486620d86c998c7.zip busybox-03e827a42273b11a540e53469486620d86c998c7.tar.gz |
2005-03-19 Shaun Jackman <sjackman@gmail.com>
* networking/ping.c (ping): Change the type of fromlen to socklen_t.
-rw-r--r-- | networking/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ping.c b/networking/ping.c index c7cbd70..bba37a0 100644 --- 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; - size_t fromlen = sizeof(from); + socklen_t fromlen = sizeof(from); if ((c = recvfrom(pingsock, packet, sizeof(packet), 0, (struct sockaddr *) &from, &fromlen)) < 0) { |