use it as 'struct addrinfo' so perhaps it builds on mingw again
authorDaniel Stenberg <daniel@haxx.se>
Wed, 31 Aug 2005 06:04:48 +0000 (06:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 31 Aug 2005 06:04:48 +0000 (06:04 +0000)
lib/hostthre.c

index 7687038f2a54bdffe0d762f9025bf9bf89d019f5..13761c5875ed1a57aa057fd20e3bad61985e3d26 100644 (file)
@@ -350,7 +350,7 @@ static unsigned __stdcall getaddrinfo_thread (void *arg)
   struct addrinfo    *res;
   char   service [NI_MAXSERV];
   int    rc;
-  addrinfo hints = td->hints;
+  struct addrinfo hints = td->hints;
 
   /* Duplicate the passed mutex handle.
    * This allows us to use it even after the container gets destroyed