mirror of
https://github.com/curl/curl.git
synced 2026-04-15 03:41:41 +03:00
httpsrr: fix the HTTPS-RR threaded-resolver build combo
Reported-by: Viktor Szakats Fixes #16399 Closes #16404
This commit is contained in:
parent
ee3f657607
commit
c64304e111
2 changed files with 1 additions and 2 deletions
|
|
@ -187,11 +187,9 @@ void Curl_dnsrec_done_cb(void *arg, ares_status_t status,
|
|||
struct Curl_easy *data = arg;
|
||||
CURLcode result = CURLE_OK;
|
||||
size_t i;
|
||||
#ifdef CURLRES_ARES
|
||||
struct thread_data *res = &data->state.async.thdata;
|
||||
|
||||
res->num_pending--;
|
||||
#endif
|
||||
(void)timeouts;
|
||||
if((ARES_SUCCESS != status) || !dnsrec)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue