aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.h
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2008-05-09 11:27:54 +0000
committerMichal Marek <mmarek@suse.cz>2008-05-09 11:27:54 +0000
commite2b82b4325e2726a802b6202f2d011fb4988e41d (patch)
tree801a800650fb9db2f1b21faca42578c13c6ca653 /lib/sendf.h
parentcf4570a06fb8103560d967af2fc93d3193fcbc04 (diff)
- Make Curl_write and it's callees accept a const pointer, in preparation
of tetetest's patch for curl_easy_send()
Diffstat (limited to 'lib/sendf.h')
-rw-r--r--lib/sendf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index f8808f662..7ffa4768a 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -65,7 +65,7 @@ int Curl_read(struct connectdata *conn, curl_socket_t sockfd,
/* internal write-function, does plain socket, SSL and krb4 */
CURLcode Curl_write(struct connectdata *conn,
curl_socket_t sockfd,
- void *mem, size_t len,
+ const void *mem, size_t len,
ssize_t *written);
/* the function used to output verbose information */