Revert last change, it is inappropriate.

pull/1/head
Yang Tse 16 years ago
parent 51a10c962a
commit ea46b347bb
  1. 2
      ares_init.c
  2. 2
      ares_private.h

@ -119,7 +119,7 @@ int ares_init_options(ares_channel *channelptr, struct ares_options *options,
struct server_state *server; struct server_state *server;
struct timeval now; struct timeval now;
#ifdef DEBUGBUILD #ifdef CURLDEBUG
const char *env = getenv("CARES_MEMDEBUG"); const char *env = getenv("CARES_MEMDEBUG");
if (env) 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)); \ (c)->sock_state_cb((c)->sock_state_cb_data, (s), (r), (w)); \
} while (0) } while (0)
#ifdef DEBUGBUILD #ifdef CURLDEBUG
/* This is low-level hard-hacking memory leak tracking and similar. Using the /* 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 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 c-ares is built and linked with a similarly debug-build libcurl, but we do

Loading…
Cancel
Save