← Commit list

84ff0f6474

Viktor Szakats
Viktor Szakats
2026-01-15
FAILED Duration: 543s

Subject

lib: fix two `CURLDEBUG` guards to be `DEBUGBUILD`

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/asyn-ares.c+1 -1
@@ -836,7 +836,7 @@ static CURLcode async_ares_set_dns_servers(struct Curl_easy *data,
const char *servers = data->set.str[STRING_DNS_SERVERS];
int ares_result = ARES_SUCCESS;
-#if defined(CURLDEBUG) && defined(HAVE_CARES_SERVERS_CSV)
+#if defined(DEBUGBUILD) && defined(HAVE_CARES_SERVERS_CSV)
if(getenv("CURL_DNS_SERVER"))
servers = getenv("CURL_DNS_SERVER");
#endif
lib/asyn-thrdd.c+1 -1
@@ -372,7 +372,7 @@ static CURLcode async_rr_start(struct Curl_easy *data, int port)
curlx_free(rrname);
return CURLE_FAILED_INIT;
}
-#ifdef CURLDEBUG
+#ifdef DEBUGBUILD
if(getenv("CURL_DNS_SERVER")) {
const char *servers = getenv("CURL_DNS_SERVER");
status = ares_set_servers_ports_csv(thrdd->rr.channel, servers);