diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2009-06-12 14:15:13 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2009-06-12 14:15:13 +0000 |
commit | 51a10c962ab7399ba2b17311762c04141becfbde (patch) | |
tree | ab15b51e10e6d8ed20a0f34a117a3828a6f439f1 | |
parent | e8e01acc8e7235e6524aa3d04f197a0b1e3ccebf (diff) | |
download | c-ares-51a10c962ab7399ba2b17311762c04141becfbde.tar.gz c-ares-51a10c962ab7399ba2b17311762c04141becfbde.tar.bz2 c-ares-51a10c962ab7399ba2b17311762c04141becfbde.zip |
Replace CURLDEBUG with DEBUGBUILD.
-rw-r--r-- | ares_init.c | 2 | ||||
-rw-r--r-- | ares_private.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ares_init.c b/ares_init.c index bd29fe9..5117dfa 100644 --- a/ares_init.c +++ b/ares_init.c @@ -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) diff --git a/ares_private.h b/ares_private.h index c84a1d0..f1b8099 100644 --- a/ares_private.h +++ b/ares_private.h @@ -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 |