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