mirror of
https://github.com/curl/curl.git
synced 2026-07-23 01:27:16 +03:00
c-ares httpsrr: fix ifdef
Fix the ifdef const when enabling HTTPSRR with c-ares. Reported-by: Pavel Kropachev Ref: #16855 Closes #16861
This commit is contained in:
parent
c8b0f0c9ad
commit
7cb079ad1b
1 changed files with 2 additions and 1 deletions
|
|
@ -833,8 +833,9 @@ struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data,
|
|||
query_completed_cb, data);
|
||||
}
|
||||
#endif
|
||||
#ifdef USE_HTTPSRR_ARES
|
||||
#ifdef USE_HTTPSRR
|
||||
{
|
||||
CURL_TRC_DNS(data, "asyn-ares: fire off query for HTTPSRR");
|
||||
res->num_pending++; /* one more */
|
||||
memset(&res->hinfo, 0, sizeof(struct Curl_https_rrinfo));
|
||||
res->hinfo.port = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue