From e2b82b4325e2726a802b6202f2d011fb4988e41d Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Fri, 9 May 2008 11:27:54 +0000 Subject: - Make Curl_write and it's callees accept a const pointer, in preparation of tetetest's patch for curl_easy_send() --- lib/sendf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sendf.h') 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 */ -- cgit v1.2.3