[BusyBox] Re: ping.c: socklen_t [PATCH]
Jason Schoon
floydpink at gmail.com
Sun Jul 24 21:39:13 UTC 2005
Pong.
I'm not sure what you're looking for with these ping posts. In this
case, yes this patch was for ping ;-)
If you're looking for a second to include the patch, I say by all
means apply this one.
On 7/24/05, Shaun Jackman <sjackman at gmail.com> wrote:
> Ping?
>
> -- sdj
>
> On 3/19/05, Shaun Jackman <sjackman at gmail.com> wrote:
> > 2005-03-19 Shaun Jackman <sjackman at gmail.com>
> >
> > * networking/ping.c (ping): Change the type of fromlen to socklen_t.
> >
> > diff -ur busybox-1.00.orig/networking/ping.c busybox-1.00/networking/ping.c
> > --- busybox-1.00.orig/networking/ping.c 2004-03-15 00:28:48.000000000 -0800
> > +++ busybox-1.00/networking/ping.c 2005-03-17 12:11:17.000000000 -0800
> > @@ -136,7 +136,7 @@
> > /* 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) {
> >
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox
>
More information about the busybox
mailing list