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())
}
Ok(Async::Ready(event)) => {
println!("ComponentAuth ignore {:?}", event);
Ok(Async::Ready(_event)) => {
// println!("ComponentAuth ignore {:?}", _event);
Ok(Async::NotReady)
}
Ok(_) => {

View file

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

View file

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