fix syntax error

This commit is contained in:
qiushiyang 2023-01-18 02:08:44 +00:00
parent d601a82b5a
commit f10f969c2c

View File

@ -182,7 +182,7 @@ impl Client {
)); ));
} }
// Allow connect to {hostname}:{port} // Allow connect to {hostname}:{port}
if hbb_common.is_hostname_port_str(peer) { if hbb_common::is_hostname_port_str(peer) {
return Ok(( return Ok((
socket_client::connect_tcp( socket_client::connect_tcp(
peer, peer,