Patch to radius.c

Day Dreamer jeff at mansukhani.net
Tue Aug 27 00:37:43 UTC 2002


On Mon, 26 Aug 2002, Russ Allbery wrote:

>
> Jake Roersma <jaker at tsunami.triton.net> writes:
>
> > For some reason when I upgraded to INN-2.3.3 from 2.3.2 radius was
> > broken. Anyway it seems the code was changed to retry 3 times but there
> > was a problem because done never was set, leaving it equal to some
> > memory space somewhere, hence never running the while loop a few lines
> > down.. Anyway it works with this patch:
>
> > --- radius.c    Mon May  6 02:02:07 2002
> > +++ ../../inn-2.3.3-changed/authprogs/radius.c  Mon Aug 26 19:47:48 2002
> > @@ -163,7 +163,7 @@
> >      struct sockaddr_in sinl, sinr;
> >      int sock;
> >      struct hostent *hent;
> > -    int done;
> > +    int done = 0;
> >      int ret;
> >      int reqlen;
> >      int passlen;
>
> Thanks, committed.
>
>



More information about the inn-workers mailing list