aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/read.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-09-09 22:58:14 -0500
committermat <github@matdoes.dev>2022-09-09 22:58:14 -0500
commit3389f19e601cf52d7920796effaca55f2f0fcf4a (patch)
tree2a196590c16f6b8151a42a51f2b81efa072b1445 /azalea-protocol/src/read.rs
parent2889514307098aa185f18e62a349c49581ef45f0 (diff)
downloadazalea-drasl-3389f19e601cf52d7920796effaca55f2f0fcf4a.tar.xz
cut off at 500 instead of 100
Diffstat (limited to 'azalea-protocol/src/read.rs')
-rwxr-xr-xazalea-protocol/src/read.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs
index 1ed491af..2c749a61 100755
--- a/azalea-protocol/src/read.rs
+++ b/azalea-protocol/src/read.rs
@@ -203,8 +203,8 @@ where
if log_enabled!(log::Level::Trace) {
let buf_string: String = {
- if buf.len() > 100 {
- let cut_off_buf = &buf[..100];
+ if buf.len() > 500 {
+ let cut_off_buf = &buf[..500];
format!("{cut_off_buf:?}...")
} else {
format!("{buf:?}")