diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-12 23:50:33 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-12 23:50:33 +0000 |
commit | ea46b347bb084bb5a52e58d0f39dea4d07fd836d (patch) | |
tree | 76dfa1300dccf733983b07f29458b954d7d5611a | |
parent | 51a10c962ab7399ba2b17311762c04141becfbde (diff) | |
download | c-ares-ea46b347bb084bb5a52e58d0f39dea4d07fd836d.tar.gz c-ares-ea46b347bb084bb5a52e58d0f39dea4d07fd836d.tar.bz2 c-ares-ea46b347bb084bb5a52e58d0f39dea4d07fd836d.zip |
Revert last change, it is inappropriate.
-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 5117dfa..bd29fe9 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 DEBUGBUILD +#ifdef CURLDEBUG const char *env = getenv("CARES_MEMDEBUG"); if (env) diff --git a/ares_private.h b/ares_private.h index f1b8099..c84a1d0 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 DEBUGBUILD +#ifdef CURLDEBUG /* 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 |