mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 02:24:16 +01:00
Fix bug in ssl_client2 reconnect option
This commit is contained in:
parent
b46780edee
commit
484b8f9ed8
@ -1330,7 +1330,7 @@ reconnect:
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( ( ret = net_connect( &server_fd, opt.server_name, opt.server_port,
|
if( ( ret = net_connect( &server_fd, opt.server_addr, opt.server_port,
|
||||||
opt.transport == SSL_TRANSPORT_STREAM ?
|
opt.transport == SSL_TRANSPORT_STREAM ?
|
||||||
NET_PROTO_TCP : NET_PROTO_UDP ) ) != 0 )
|
NET_PROTO_TCP : NET_PROTO_UDP ) ) != 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user