use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions

This commit is contained in:
Daniel Stenberg
2003-06-26 11:22:12 +00:00
parent db566c54ae
commit 308bc9d919
20 changed files with 33 additions and 30 deletions

View File

@@ -41,7 +41,7 @@ struct Curl_dns_entry {
time_t timestamp;
long inuse; /* use-counter, make very sure you decrease this
when you're done using the address you received */
#ifdef MALLOCDEBUG
#ifdef CURLDEBUG
char *entry_id;
#endif
};
@@ -70,7 +70,7 @@ void Curl_freeaddrinfo(Curl_addrinfo *freeaddr);
/* free cached name info */
void Curl_freednsinfo(void *freethis);
#ifdef MALLOCDEBUG
#ifdef CURLDEBUG
void curl_freeaddrinfo(struct addrinfo *freethis,
int line, const char *source);
int curl_getaddrinfo(char *hostname, char *service,