FILE *logfile;
/* this sets the log file name */
-void curl_memdebug(char *logname)
+void curl_memdebug(const char *logname)
{
logfile = fopen(logname, "w");
}
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 *);