From d6f0449344b22fab40bf5ed66159ae286f2e0826 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 24 Apr 2022 22:55:11 -0500 Subject: [PATCH] remove debug prints --- azalea-protocol/src/read.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index be20ac23..1e308cfb 100755 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -11,7 +11,6 @@ where { // Packet Length let length_result = stream.read_varint().await; - println!("length_result: {:?}", length_result); match length_result { Ok(length) => { let mut buf = vec![0; length as usize]; @@ -21,8 +20,6 @@ where .await .map_err(|e| e.to_string())?; - println!("buf: {:?}", buf); - Ok(buf) } Err(_) => Err("length wider than 21-bit".to_string()), @@ -117,10 +114,8 @@ where let polled = self.as_mut().stream.as_mut().poll_read(cx, buf); match polled { std::task::Poll::Ready(r) => { - println!("encrypted packet {:?}", buf.initialized_mut()); if let Some(cipher) = self.as_mut().cipher.get_mut() { azalea_auth::encryption::decrypt_packet(cipher, buf.initialized_mut()); - println!("decrypted packet {:?}", buf.initialized_mut()); } match r { Ok(()) => std::task::Poll::Ready(Ok(())),