X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/2813fcb83452c7fd91d799a984613a616180a067..b0e7a62e7d8184888184ca9d11464611ed12a97c:/m17app/src/tnc.rs diff --git a/m17app/src/tnc.rs b/m17app/src/tnc.rs index 99bacc7..921585b 100644 --- a/m17app/src/tnc.rs +++ b/m17app/src/tnc.rs @@ -19,7 +19,7 @@ pub enum TncError { impl Tnc for std::net::TcpStream { fn try_clone(&mut self) -> Result { - self.try_clone().map_err(|_| TncError::Unknown) + std::net::TcpStream::try_clone(self).map_err(|_| TncError::Unknown) } fn start(&mut self) -> Result<(), TncError> {