diff options
| author | mat <github@matdoes.dev> | 2022-04-24 22:55:11 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-24 22:55:11 -0500 |
| commit | d6f0449344b22fab40bf5ed66159ae286f2e0826 (patch) | |
| tree | 07281d9ea2616038eb80a2243e1a07313e17164b /azalea-protocol/src/read.rs | |
| parent | dac943e3d79def7d2c322450790f16f027735941 (diff) | |
| download | azalea-drasl-d6f0449344b22fab40bf5ed66159ae286f2e0826.tar.xz | |
remove debug prints
Diffstat (limited to 'azalea-protocol/src/read.rs')
| -rwxr-xr-x | azalea-protocol/src/read.rs | 5 |
1 files changed, 0 insertions, 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(())), |
