diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-10-29 20:57:03 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-10-29 20:57:03 +0000 |
commit | 0f77fe55b6efbf090b30a3612b314cd2f8e27b3a (patch) | |
tree | dd3d8c9387ee96489e717c145c7636d3fcb412b7 /lib/sendf.c | |
parent | 68ee002ad013208f3818a034135b91ed15724c70 (diff) |
Reverted the const change--what was I thinking?
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 00b1be657..5aa0e5dac 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -560,7 +560,7 @@ int Curl_read(struct connectdata *conn, /* connection data */ /* return 0 on success */ 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] = { "* ", "< ", "> ", "{ ", "} ", "{ ", "} " }; @@ -629,7 +629,7 @@ static int showit(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) { int rc; |