Patch to radius.c
Russ Allbery
rra at stanford.edu
Mon Aug 26 23:59:12 UTC 2002
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.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list