mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-19 06:47:56 +00:00
Fix bug in ssl_client2 reconnect option
This commit is contained in:
parent
f29e5de09d
commit
d3b90f797d
|
@ -1219,7 +1219,7 @@ 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 );
|
||||||
|
|
Loading…
Reference in a new issue