Skip to content
Snippets Groups Projects
Commit aa1da57c authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Replace CURLDEBUG with DEBUGBUILD.

parent c2ce2aa4
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ int ares_init_options(ares_channel *channelptr, struct ares_options *options,
struct server_state *server;
struct timeval now;
#ifdef CURLDEBUG
#ifdef DEBUGBUILD
const char *env = getenv("CARES_MEMDEBUG");
if (env)
......
......@@ -337,7 +337,7 @@ long ares__tvdiff(struct timeval t1, struct timeval t2);
(c)->sock_state_cb((c)->sock_state_cb_data, (s), (r), (w)); \
} while (0)
#ifdef CURLDEBUG
#ifdef DEBUGBUILD
/* This is low-level hard-hacking memory leak tracking and similar. Using the
libcurl lowlevel code from within library is ugly and only works when
c-ares is built and linked with a similarly debug-build libcurl, but we do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment