From fcc2b1bffbd6dd86fc8f95f1e2e6e8b2a94e731e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 26 Feb 2014 09:58:45 +0100 Subject: [PATCH] tcpip: initialize ai_connect --- src/tcpip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tcpip.c b/src/tcpip.c index 4ca0683..ac0001e 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -206,6 +206,7 @@ COMSTACK tcpip_type(int s, int flags, int protocol, void *vp) #if HAVE_GETADDRINFO sp->ai = 0; + sp->ai_connect = 0; #endif sp->altbuf = 0; sp->altsize = sp->altlen = 0; -- 1.7.10.4