mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
- Made second argument of f_send() prototype and of net_send() const
This commit is contained in:
parent
42e5981c26
commit
39bb418d93
4 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue