Bug in INN CURRENT 20020223
Jeffrey M. Vinocur
jeff at litech.org
Sun Feb 24 01:41:10 UTC 2002
On Sat, 23 Feb 2002, The Doctor wrote:
> > > On Sat, Feb 23, 2002 at 11:35:26AM -0500, Jeffrey M. Vinocur wrote:
> > >
> > > > Oh. It's the SA_LEN macro.
>
> [...]
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
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list