From c6db2d45b28e93de5052901b28521c6407490c85 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 16 Apr 2025 16:18:10 +0200 Subject: [PATCH] asyn-ares: fix build with old c-ares See https://app.circleci.com/pipelines/github/curl/curl/13081/workflows/7d80b69e-9886-4f4c-b467-0fa321a0f8c2/jobs/130479 Closes #17075 --- lib/asyn-ares.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c index 2fb83eeb10..babae6fb27 100644 --- a/lib/asyn-ares.c +++ b/lib/asyn-ares.c @@ -294,7 +294,7 @@ CURLcode Curl_async_is_resolved(struct Curl_easy *data, leave us with res->num_pending == 0, which is perfect for the next block. */ ares_cancel(ares->channel); - DEBUGASSERT(res->num_pending == 0); + DEBUGASSERT(ares->num_pending == 0); } #endif -- 2.47.2