1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

- Made second argument of f_send() prototype and of net_send() const

This commit is contained in:
Paul Bakker
2011-06-21 07:36:43 +00:00
parent 42e5981c26
commit 39bb418d93
4 changed files with 5 additions and 5 deletions

View File

@ -317,7 +317,7 @@ int net_recv( void *ctx, unsigned char *buf, size_t len )
/*
* Write at most 'len' characters
*/
int net_send( void *ctx, unsigned char *buf, size_t len )
int net_send( void *ctx, const unsigned char *buf, size_t len )
{
int ret = write( *((int *) ctx), buf, len );