mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Fix bug in ssl_client2 reconnect option
This commit is contained in:
@ -1219,8 +1219,8 @@ reconnect:
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( ( ret = net_connect( &server_fd, opt.server_name,
|
if( ( ret = net_connect( &server_fd, opt.server_addr,
|
||||||
opt.server_port ) ) != 0 )
|
opt.server_port ) ) != 0 )
|
||||||
{
|
{
|
||||||
printf( " failed\n ! net_connect returned -0x%x\n\n", -ret );
|
printf( " failed\n ! net_connect returned -0x%x\n\n", -ret );
|
||||||
goto exit;
|
goto exit;
|
||||||
|
Reference in New Issue
Block a user