#include "strequal.h"
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#include <unixlib.h>
#endif
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#endif
/* Make this the last #include */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#else
#include <stdlib.h>
#endif
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#include "hash.h"
#include "llist.h"
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
/* this must be the last include file */
#include "memdebug.h"
#endif
#endif
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
hostcache_timestamp_remove);
}
-#if defined(MALLOCDEBUG) && defined(AGGRESIVE_TEST)
+#if defined(CURLDEBUG) && defined(AGGRESIVE_TEST)
/* Called from Curl_done() to check that there's no DNS cache entry with
a non-zero counter left. */
void Curl_scan_cache_used(void *user, void *ptr)
dns->timestamp = now;
dns->inuse++; /* mark entry as in-use */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
dns->entry_id = entry_id;
#endif
#ifdef ENABLE_IPV6
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
/* These two are strictly for memory tracing and are using the same
* style as the family otherwise present in memdebug.c. I put these ones
* here since they require a bunch of struct types I didn't wanna include
step_size+=200;
}
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
infof(data, "gethostbyname_r() uses %d bytes\n", step_size);
#endif
if(!h) /* failure */
res=1;
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
infof(data, "gethostbyname_r() uses %d bytes\n", step_size);
#endif
if(!res) {
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
};
/* 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,
#include <curl/mprintf.h>
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#include <curl/mprintf.h>
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
/* allow the list to be comma-separated */
header++;
}
+
+ if(!data->state.digest.nonce)
+ return CURLDIGEST_BAD;
}
else
/* else not a digest, get out */
#endif
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#endif
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#include "llist.h"
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
/* this must be the last include file */
#include "memdebug.h"
#endif
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
#ifdef VMS
int VOID_VAR_MEMDEBUG;
#endif
-#endif /* MALLOCDEBUG */
+#endif /* CURLDEBUG */
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#include "progress.h"
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
easy=multi->easy.next;
while(easy) {
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
fprintf(stderr, "HANDLE %p: State: %x\n",
(char *)easy, easy->state);
#endif
#include "strtok.h"
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
sprintf(netrcbuffer, "%s%s%s", home, DIR_CHAR, NETRC);
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
{
/* This is a hack to allow testing.
* If compiled with --enable-debug and CURL_DEBUG_NETRC is defined,
free(override);
}
}
-#endif /* MALLOCDEBUG */
+#endif /* CURLDEBUG */
file = fopen(netrcbuffer, "r");
if(file) {
#include "ftp.h"
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#endif
#include <string.h>
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#include <openssl/rand.h>
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif
#include "arpa_telnet.h"
/* The last #include file should be: */
-#ifdef MALLOCDEBUG
+#ifdef CURLDEBUG
#include "memdebug.h"
#endif