forked from M-Labs/nac3
typo
This commit is contained in:
parent
bca2b3fe50
commit
b7695d9313
|
@ -112,7 +112,7 @@ async fn handle_connection(stream: &TcpStream, control: Rc<RefCell<kernel::Contr
|
||||||
Ok(false) =>
|
Ok(false) =>
|
||||||
return Err(Error::UnexpectedPattern),
|
return Err(Error::UnexpectedPattern),
|
||||||
// Peer has closed the connection.
|
// Peer has closed the connection.
|
||||||
// Closing here is a normal condition so do not reported an error.
|
// Closing here is a normal condition so do not report an error.
|
||||||
// An error is still reported if the connection is unexpectedly closed elsewhere.
|
// An error is still reported if the connection is unexpectedly closed elsewhere.
|
||||||
Err(smoltcp::Error::Illegal) =>
|
Err(smoltcp::Error::Illegal) =>
|
||||||
return Ok(()),
|
return Ok(()),
|
||||||
|
|
Loading…
Reference in New Issue