diff options
author | Michal Marek <mmarek@suse.cz> | 2008-05-09 11:27:54 +0000 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2008-05-09 11:27:54 +0000 |
commit | e2b82b4325e2726a802b6202f2d011fb4988e41d (patch) | |
tree | 801a800650fb9db2f1b21faca42578c13c6ca653 /lib/sendf.c | |
parent | cf4570a06fb8103560d967af2fc93d3193fcbc04 (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.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 6aa4d8613..3869a4d4f 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -312,7 +312,7 @@ CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *conn, static ssize_t send_plain(struct connectdata *conn, int num, - void *mem, + const void *mem, size_t len) { curl_socket_t sockfd = conn->sock[num]; @@ -347,7 +347,7 @@ static ssize_t send_plain(struct connectdata *conn, */ CURLcode Curl_write(struct connectdata *conn, curl_socket_t sockfd, - void *mem, + const void *mem, size_t len, ssize_t *written) { |