Browse Source

more debug info

pbs
Jake Probst 5 years ago
parent
commit
667b9b231b
  1. 2
      src/common/network.rs

2
src/common/network.rs

@ -69,6 +69,6 @@ pub fn recv_packet<T: Read>(socket: &mut T, cipher: &mut dyn PSOCipher) -> Resul
full_buf.append(&mut dec_data_buf); full_buf.append(&mut dec_data_buf);
full_buf = full_buf[..pkt_size].to_vec(); full_buf = full_buf[..pkt_size].to_vec();
//println!("[recv]: {:X?}", full_buf);
println!("[recv: buf]: {:X?}", full_buf);
Ok(full_buf) Ok(full_buf)
} }
Loading…
Cancel
Save