mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net: fix typo (#15688)
This commit is contained in:
parent
8627af18dd
commit
7672725204
@ -63,7 +63,7 @@ pub fn dial_tcp(address string) ?&TcpConn {
|
|||||||
return error(err_builder.str())
|
return error(err_builder.str())
|
||||||
}
|
}
|
||||||
|
|
||||||
// bind local address and dail.
|
// bind local address and dial.
|
||||||
pub fn dial_tcp_with_bind(saddr string, laddr string) ?&TcpConn {
|
pub fn dial_tcp_with_bind(saddr string, laddr string) ?&TcpConn {
|
||||||
addrs := resolve_addrs_fuzzy(saddr, .tcp) or {
|
addrs := resolve_addrs_fuzzy(saddr, .tcp) or {
|
||||||
return error('$err.msg(); could not resolve address $saddr in dial_tcp_with_bind')
|
return error('$err.msg(); could not resolve address $saddr in dial_tcp_with_bind')
|
||||||
|
Loading…
Reference in New Issue
Block a user