Adapt prototype of net_accept() for explicit size
This commit is contained in:
parent
d9e6a3ac10
commit
0b104b056b
12 changed files with 47 additions and 21 deletions
|
@ -472,7 +472,8 @@ reset:
|
|||
|
||||
mbedtls_printf( " [ main ] Waiting for a remote connection\n" );
|
||||
|
||||
if( ( ret = mbedtls_net_accept( listen_fd, &client_fd, NULL ) ) != 0 )
|
||||
if( ( ret = mbedtls_net_accept( listen_fd, &client_fd,
|
||||
NULL, 0, NULL ) ) != 0 )
|
||||
{
|
||||
mbedtls_printf( " [ main ] failed: mbedtls_net_accept returned -0x%04x\n", ret );
|
||||
goto exit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue