I just happened to bump up one of my boxes to latest Cache::Memcached
version from CPAN and noticed that it breaks unix domain socket support - or
rather, dumps a warning. Here's a fix - it just moves some udp/tcp specific
code into the non-unixdomain code block.

Technically, to resolve this warning, only the IPv6 line needs to be moved,
but there's no point in having the pattern match and proto lookup run
outside the block since they aren't used, and putting inside the block
doesn't change code path for non unixdomain sockets.

Thanks!

-- Nathan

Attachment: mc-ipv6-unixdomain.diff
Description: Binary data

Reply via email to