diff --git a/src/component/auth.rs b/src/component/auth.rs index 92ae0903cd8ab4aa93a0658cd8a7486f521878f8..44104f4c19052fe1db703563fab894cf32c2d7ca 100644 --- a/src/component/auth.rs +++ b/src/component/auth.rs @@ -73,8 +73,8 @@ impl Future for ComponentAuth { { Err(AuthError::ComponentFail.into()) } - Ok(Async::Ready(event)) => { - println!("ComponentAuth ignore {:?}", event); + Ok(Async::Ready(_event)) => { + // println!("ComponentAuth ignore {:?}", _event); Ok(Async::NotReady) } Ok(_) => { diff --git a/src/starttls.rs b/src/starttls.rs index 00966ac1d491ba3d87d0b1b3bf0011d086e6a2ec..41bc6001da06f74b49403108c45616d787a1ae7f 100644 --- a/src/starttls.rs +++ b/src/starttls.rs @@ -75,8 +75,8 @@ impl Future for StartTlsClient { 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), diff --git a/src/xmpp_codec.rs b/src/xmpp_codec.rs index 54ddcb51a5908b8716c339e7b18c78d11bfe2747..d8e5310a41aa99adff965b0c60655bf763ca0b58 100644 --- a/src/xmpp_codec.rs +++ b/src/xmpp_codec.rs @@ -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) => {