rm all annoying debug output

This commit is contained in:
Astro 2019-01-26 19:28:57 +01:00
commit c75eafa553
3 changed files with 5 additions and 5 deletions

View file

@ -73,8 +73,8 @@ impl<S: AsyncRead + AsyncWrite> Future for ComponentAuth<S> {
{ {
Err(AuthError::ComponentFail.into()) Err(AuthError::ComponentFail.into())
} }
Ok(Async::Ready(event)) => { Ok(Async::Ready(_event)) => {
println!("ComponentAuth ignore {:?}", event); // println!("ComponentAuth ignore {:?}", _event);
Ok(Async::NotReady) Ok(Async::NotReady)
} }
Ok(_) => { Ok(_) => {

View file

@ -75,8 +75,8 @@ impl<S: AsyncRead + AsyncWrite> Future for StartTlsClient<S> {
retry = true; retry = true;
(new_state, Ok(Async::NotReady)) (new_state, Ok(Async::NotReady))
} }
Ok(Async::Ready(value)) => { Ok(Async::Ready(_value)) => {
println!("StartTlsClient ignore {:?}", value); // println!("StartTlsClient ignore {:?}", _value);
( (
StartTlsClientState::AwaitProceed(xmpp_stream), StartTlsClientState::AwaitProceed(xmpp_stream),
Ok(Async::NotReady), Ok(Async::NotReady),

View file

@ -289,7 +289,7 @@ impl Encoder for XMPPCodec {
} }
write!(buf, ">\n").unwrap(); write!(buf, ">\n").unwrap();
print!(">> {}", buf); // print!(">> {}", buf);
write!(dst, "{}", buf).map_err(|e| io::Error::new(io::ErrorKind::InvalidInput, e)) write!(dst, "{}", buf).map_err(|e| io::Error::new(io::ErrorKind::InvalidInput, e))
} }
Packet::Stanza(stanza) => { Packet::Stanza(stanza) => {