1
0
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:
Emin Arıcan 2022-09-07 16:35:28 +03:00 committed by GitHub
parent 8627af18dd
commit 7672725204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ pub fn dial_tcp(address string) ?&TcpConn {
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 {
addrs := resolve_addrs_fuzzy(saddr, .tcp) or {
return error('$err.msg(); could not resolve address $saddr in dial_tcp_with_bind')