]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
init_resolve_thread() needs 'hints' on the native form.
authorGisle Vanem <gvanem@broadpark.no>
Sat, 1 Nov 2008 15:16:47 +0000 (15:16 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Sat, 1 Nov 2008 15:16:47 +0000 (15:16 +0000)
lib/hostthre.c

index fcc0bb32c57adf81aea3e9c5b1afbf350a8f20d8..242c486995e81c31a16358b39fbf86c0dc3d4086 100644 (file)
@@ -92,7 +92,7 @@
 /* This function is used to init a threaded resolve */
 static bool init_resolve_thread(struct connectdata *conn,
                                 const char *hostname, int port,
-                                const Curl_addrinfo *hints);
+                                const struct addrinfo *hints);
 
 #ifdef CURLRES_IPV4
   #define THREAD_FUNC  gethostbyname_thread
@@ -396,7 +396,7 @@ void Curl_destroy_thread_data (struct Curl_async *async)
  */
 static bool init_resolve_thread (struct connectdata *conn,
                                  const char *hostname, int port,
-                                 const Curl_addrinfo *hints)
+                                 const struct addrinfo *hints)
 {
   struct thread_data *td = calloc(sizeof(*td), 1);
   HANDLE thread_and_event[2] = {0};