aboutsummaryrefslogtreecommitdiff
path: root/lib/memdebug.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-21 19:03:20 +0000
committerYang Tse <yangsita@gmail.com>2007-02-21 19:03:20 +0000
commit3a634a273a7bff3d219883f572db786e2c1004b1 (patch)
treea0f1f70c6de10f38c29e3f5f468bed50db759ec1 /lib/memdebug.c
parent06d1b029f63b9b03dfa3b9bfe34ba1baeb67df29 (diff)
curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r--lib/memdebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c
index cca62347d..110169474 100644
--- a/lib/memdebug.c
+++ b/lib/memdebug.c
@@ -170,7 +170,7 @@ char *curl_dostrdup(const char *str, int line, const char *source)
char *mem;
size_t len;
- curlassert(str != NULL);
+ DEBUGASSERT(str != NULL);
if(countcheck("strdup", line, source))
return NULL;
@@ -220,7 +220,7 @@ void curl_dofree(void *ptr, int line, const char *source)
{
struct memdebug *mem;
- curlassert(ptr != NULL);
+ DEBUGASSERT(ptr != NULL);
mem = (struct memdebug *)((char *)ptr - offsetof(struct memdebug, mem));
@@ -280,7 +280,7 @@ int curl_fclose(FILE *file, int line, const char *source)
{
int res;
- curlassert(file != NULL);
+ DEBUGASSERT(file != NULL);
res=(fclose)(file);
if(logfile)