Fix typo in error message
This commit is contained in:
parent
6e8abb5ec6
commit
a475f5d181
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ impl TcpStream {
|
|||
}
|
||||
Ok(SocketAddr::V6(SocketAddrV6::new(new_addr.into(), self.local_port, 0, 0)))
|
||||
}
|
||||
_ => Err(io::const_error!(io::ErrorKind::InvalidInput, "tnternal error")),
|
||||
_ => Err(io::const_error!(io::ErrorKind::InvalidInput, "internal error")),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue