INN commit: trunk (CONTRIBUTORS lib/network.c)

Julien ÉLIE julien at trigofacile.com
Mon Oct 27 07:04:39 UTC 2008


Hi Russ,

>> EAI_ADDRFAMILY was obsoleted with RFC 3493.
>> Thanks to Wolfgang M. Weyand for having pointed that out
>> (it causes compilation issues).
>
> I'd tend to fix this with:
>
> #ifundef EAI_ADDRFAMILY
> # define EAI_ADDRFAMILY EAI_FAMILY
> #endif
>
> instead in portable/socket.h and leaving the if statement, just in case
> there's an older system around that still returns EAI_ADDRFAMILY.  The
> above change would lose on such a system.  Although I don't know if there
> are many obsolete IPv6 stacks still around that we need to worry about.


OK.  Fixed in revision 8150.

-- 
Julien ÉLIE

« Only wimps use tape backup:  _real_ men just upload their important stuff
  on ftp, and let the rest of the world mirror it ;) » (Linus Torvalds, 1996) 



More information about the inn-workers mailing list