r1392 - trunk/varnish-cache/bin/varnishd

Poul-Henning Kamp phk at phk.freebsd.dk
Wed May 9 12:16:21 CEST 2007

In message <87y7jynw6v.fsf at des.linpro.no>, Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=
>phk at projects.linpro.no writes:
>> Modified:
>>    trunk/varnish-cache/bin/varnishd/cache_vrt_acl.c
>> Log:
>> Don't use sockaddr->sa_len, it was too advanced for POSIX people.
>Actually, our configure script checks for its presence - you can test
>for it in code with "#if HAVE_STRUCT_SOCKADDR_SA_LEN".

It's easier and cleaner looking to assume it's not there.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-commit mailing list