X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpip.c;h=32b1ec19752887983f079008ab3aa93a63f13da2;hp=41c07256d2bca33eb3196d9c2e5f2bcacdf6c423;hb=fa2f320241607861de8bc60e1b0b634e241ded77;hpb=2ad51254bcafb41daf04f708f9d37ef37d16fb49;ds=sidebyside diff --git a/src/tcpip.c b/src/tcpip.c index 41c0725..32b1ec1 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -388,6 +388,7 @@ struct addrinfo *tcpip_getaddrinfo(const char *str, const char *port, else { error = getaddrinfo(host, port, &hints, &res); + *ipv6_only = -1; } if (error) return 0;