asyn-ares: fix the port assign
Follow-up to 6bc65a444b
Fixes #16414
Closes #16415
This commit is contained in:
parent
d1fc1c4a85
commit
fb61d76580
@ -843,7 +843,7 @@ struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data,
|
||||
{
|
||||
res->num_pending++; /* one more */
|
||||
memset(&res->hinfo, 0, sizeof(struct Curl_https_rrinfo));
|
||||
res->hinfo->port = -1;
|
||||
res->hinfo.port = -1;
|
||||
ares_query_dnsrec((ares_channel)data->state.async.resolver,
|
||||
hostname, ARES_CLASS_IN,
|
||||
ARES_REC_TYPE_HTTPS,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user