summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2008-11-01 15:16:47 +0000
committerGisle Vanem <gvanem@broadpark.no>2008-11-01 15:16:47 +0000
commit5f085789b92be623e7a73d1172486a64daf42895 (patch)
tree84bee7df2090d3dd08d0e436bef40e86c5bcb05e /lib
parent6a8832d83b4d86da285124ac13dc4f4d277a8e95 (diff)
downloadcurl-5f085789b92be623e7a73d1172486a64daf42895.tar.gz
init_resolve_thread() needs 'hints' on the native form.
Diffstat (limited to 'lib')
-rw-r--r--lib/hostthre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c
index fcc0bb32c..242c48699 100644
--- a/lib/hostthre.c
+++ b/lib/hostthre.c
@@ -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};