1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-03 11:51:24 +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

@@ -143,7 +143,7 @@ int net_recv( void *ctx, unsigned char *buf, size_t len );
* or a non-zero error code; POLARSSL_ERR_NET_WANT_WRITE
* indicates write() is blocking.
*/
int net_send( void *ctx, unsigned char *buf, size_t len );
int net_send( void *ctx, const unsigned char *buf, size_t len );
/**
* \brief Gracefully shutdown the connection