aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-10-29 18:32:20 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-10-29 18:32:20 +0000
commit68ee002ad013208f3818a034135b91ed15724c70 (patch)
tree31f8f7d737fb49b166d7cd5f821ebbd030ccf9ae /lib/sendf.c
parent1fc3b185923ebd299fd54b3057ffd060a583ef44 (diff)
Made some pointers const
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 5aa0e5dac..00b1be657 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,
- char *ptr, size_t size)
+ const 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,
- char *ptr, size_t size,
+ const char *ptr, size_t size,
struct connectdata *conn)
{
int rc;