aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
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 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)
{