fix ipv6 getaddrinfo test; based on patch from itojun@ for kde/libs3

This commit is contained in:
todd 2002-05-28 15:51:02 +00:00
parent faeb0fc665
commit 2fa0b93ed0

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-configure_in,v 1.1 2002/05/28 15:51:02 todd Exp $
--- configure.in.orig Tue May 28 10:23:34 2002
+++ configure.in Tue May 28 10:22:41 2002
@@ -451,6 +451,7 @@ AC_CHECK_FUNC(getaddrinfo,
{
struct addrinfo hint, *res;
int err;
+ memset(&hint, 0, sizeof hint);
hint.ai_family = AF_UNSPEC;
hint.ai_protocol = 0;
hint.ai_socktype = SOCK_STREAM;