diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-03-02 07:41:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-03-02 07:41:40 +0000 |
commit | b6c5da337aa6648bf9f39cd15f97123e64b4a91f (patch) | |
tree | 608b922698a529a0a0db070b29301b9492b427eb /lib/memdebug.c | |
parent | 9bc24e48768a25f308f8992ea4a671657279a9df (diff) |
strdup() takes a const char * now
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r-- | lib/memdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c index ef7c0c6ee..28b86b656 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -72,7 +72,7 @@ void *curl_domalloc(size_t size, int line, char *source) return mem; } -char *curl_dostrdup(char *str, int line, char *source) +char *curl_dostrdup(const char *str, int line, char *source) { char *mem; size_t len; |