- Make Curl_write and it's callees accept a const pointer, in preparation

of tetetest's patch for curl_easy_send()
This commit is contained in:
Michal Marek
2008-05-09 11:27:54 +00:00
parent cf4570a06f
commit e2b82b4325
13 changed files with 32 additions and 22 deletions

View File

@@ -1872,7 +1872,7 @@ Curl_ossl_connect(struct connectdata *conn,
/* return number of sent (non-SSL) bytes */
ssize_t Curl_ossl_send(struct connectdata *conn,
int sockindex,
void *mem,
const void *mem,
size_t len)
{
/* SSL_write() is said to return 'int' while write() and send() returns