Revert last change, it is inappropriate.
authorYang Tse <yangsita@gmail.com>
Fri, 12 Jun 2009 23:50:33 +0000 (23:50 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 12 Jun 2009 23:50:33 +0000 (23:50 +0000)
ares/ares_init.c
ares/ares_private.h

index 5117dfa..bd29fe9 100644 (file)
@@ -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)
index f1b8099..c84a1d0 100644 (file)
@@ -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