Change summary
src/component/auth.rs | 4 ++--
src/starttls.rs | 4 ++--
src/xmpp_codec.rs | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
Detailed changes
@@ -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(_) => {
@@ -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),
@@ -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) => {