diff options
| author | mat <github@matdoes.dev> | 2022-09-09 22:58:14 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-09-09 22:58:14 -0500 |
| commit | 3389f19e601cf52d7920796effaca55f2f0fcf4a (patch) | |
| tree | 2a196590c16f6b8151a42a51f2b81efa072b1445 | |
| parent | 2889514307098aa185f18e62a349c49581ef45f0 (diff) | |
| download | azalea-drasl-3389f19e601cf52d7920796effaca55f2f0fcf4a.tar.xz | |
cut off at 500 instead of 100
| -rwxr-xr-x | azalea-protocol/src/read.rs | 4 |
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:?}") |
