mirror of
https://github.com/curl/curl.git
synced 2026-05-30 18:17:29 +03:00
asyn-ares: fix the port assign
Follow-up to 6bc65a444b
Fixes #16414
Closes #16415
This commit is contained in:
parent
d1fc1c4a85
commit
fb61d76580
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue