mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
init_resolve_thread() needs 'hints' on the native form.
This commit is contained in:
parent
6a8832d83b
commit
5f085789b9
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user