diff --git a/src/client.rs b/src/client.rs index 67878ae..50e6797 100644 --- a/src/client.rs +++ b/src/client.rs @@ -1201,12 +1201,12 @@ impl Connection { Status::Bad => { break Err(Error::Bad( expl.unwrap_or_else(|| "no explanation given".to_string()), - )) + )); } Status::No => { break Err(Error::No( expl.unwrap_or_else(|| "no explanation given".to_string()), - )) + )); } _ => break Err(Error::Parse(ParseError::Invalid(data.split_off(0)))), }