Reverted the const change--what was I thinking?

This commit is contained in:
Dan Fandrich 2007-10-29 20:57:03 +00:00
parent 68ee002ad0
commit 0f77fe55b6
2 changed files with 3 additions and 3 deletions

View File

@ -560,7 +560,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
/* return 0 on success */ /* return 0 on success */
static int showit(struct SessionHandle *data, curl_infotype type, static int showit(struct SessionHandle *data, curl_infotype type,
const char *ptr, size_t size) char *ptr, size_t size)
{ {
static const char * const s_infotype[CURLINFO_END] = { static const char * const s_infotype[CURLINFO_END] = {
"* ", "< ", "> ", "{ ", "} ", "{ ", "} " }; "* ", "< ", "> ", "{ ", "} ", "{ ", "} " };
@ -629,7 +629,7 @@ static int showit(struct SessionHandle *data, curl_infotype type,
} }
int Curl_debug(struct SessionHandle *data, curl_infotype type, int Curl_debug(struct SessionHandle *data, curl_infotype type,
const char *ptr, size_t size, char *ptr, size_t size,
struct connectdata *conn) struct connectdata *conn)
{ {
int rc; int rc;

View File

@ -70,7 +70,7 @@ CURLcode Curl_write(struct connectdata *conn,
/* the function used to output verbose information */ /* the function used to output verbose information */
int Curl_debug(struct SessionHandle *handle, curl_infotype type, int Curl_debug(struct SessionHandle *handle, curl_infotype type,
const char *data, size_t size, char *data, size_t size,
struct connectdata *conn); struct connectdata *conn);