|
@@ -337,9 +337,11 @@ static inline struct hostent* _resolvehost(char* name)
|
|
{
|
|
{
|
|
static struct hostent* he=0;
|
|
static struct hostent* he=0;
|
|
#ifdef HAVE_GETIPNODEBYNAME
|
|
#ifdef HAVE_GETIPNODEBYNAME
|
|
|
|
+#ifdef USE_IPV6
|
|
int err;
|
|
int err;
|
|
static struct hostent* he2=0;
|
|
static struct hostent* he2=0;
|
|
#endif
|
|
#endif
|
|
|
|
+#endif
|
|
#ifndef DNS_IP_HACK
|
|
#ifndef DNS_IP_HACK
|
|
#ifdef USE_IPV6
|
|
#ifdef USE_IPV6
|
|
int len;
|
|
int len;
|