diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-14 09:24:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-14 09:24:48 +0000 |
commit | 1a7e13e166dd0c90cebe2ccd4585c217795ad42c (patch) | |
tree | 34c2a375aee1b2f7112e5f8e5a661659ff09569e | |
parent | 3a37c0ae23311230a85507d51023c120311bf6a7 (diff) |
curl_memdebug takes a const argument now
-rw-r--r-- | lib/memdebug.c | 2 | ||||
-rw-r--r-- | lib/memdebug.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c index 4ccdc727d..f0e104a6d 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -58,7 +58,7 @@ FILE *logfile; /* this sets the log file name */ -void curl_memdebug(char *logname) +void curl_memdebug(const char *logname) { logfile = fopen(logname, "w"); } diff --git a/lib/memdebug.h b/lib/memdebug.h index 419b8b943..2a6a35ac2 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -11,7 +11,7 @@ void *curl_domalloc(size_t size, int line, const char *source); void *curl_dorealloc(void *ptr, size_t size, int line, const char *source); void curl_dofree(void *ptr, int line, const char *source); char *curl_dostrdup(const char *str, int line, const char *source); -void curl_memdebug(char *logname); +void curl_memdebug(const char *logname); /* file descriptor manipulators */ int curl_socket(int domain, int type, int protocol, int, const char *); |