1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Fix compiler warning in IPv6 check

(This was why I saw a warning from the IPv4 code path, now fixed by 7949e4c).
This commit is contained in:
David Leadbeater 2014-07-06 21:51:22 +01:00
parent 7949e4c53f
commit 85d9fa1922

View File

@ -628,7 +628,7 @@ if test "x$want_ipv6" = "xyes"; then
#include <netinet/in.h> #include <netinet/in.h>
#include <netdb.h> #include <netdb.h>
#include <arpa/inet.h>], #include <arpa/inet.h>],
[struct in6_addr i;], [struct in6_addr i = in6addr_any; return &i == &i;],
have_ipv6=yes, have_ipv6=yes,
)]) )])
if test $have_ipv6 = yes; then if test $have_ipv6 = yes; then