Bug in INN CURRENT 20020223
Russ Allbery
rra at stanford.edu
Sun Feb 24 02:16:08 UTC 2002
Jeffrey M Vinocur <jeff at litech.org> writes:
> Oh, thanks for catching that. Can you make the below change to
> include/clibrary.h? If that works, I'll commit it.
> RCS file: /dist1/cvs/isc/inn/inn/include/clibrary.h,v
> retrieving revision 1.34
> diff -u -r1.34 clibrary.h
> --- clibrary.h 2002/02/22 20:39:10 1.34
> +++ clibrary.h 2002/02/24 01:39:15
> @@ -204,7 +204,7 @@
> #ifndef HAVE_SA_LEN_MACRO
> # if defined HAVE_SOCKADDR_LEN
> -# define SA_LEN(s) (s->sa_len)
> +# define SA_LEN(s) ((s)->sa_len)
> # else
> /* Use ugly hack from USAGI project */
> # if defined HAVE_INET6
This change is correct regardless; feel free to commit it.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list