Remove debug log

This commit is contained in:
Sarah Jamie Lewis 2021-01-12 22:34:56 -08:00
parent 2baa274de4
commit ca09821cbc
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "tapir-cwtch"
version = "0.1.3"
version = "0.1.4"
authors = ["Sarah Jamie Lewis <sarah@openprivacy.ca>"]
edition = "2018"
license = "MIT"

View File

@ -119,7 +119,7 @@ impl<Direction> ConnectionInterface for Connection<Direction> {
Ok(()) => {
// TODO why did I decide to use varints here?!?!
let len = u16::decode_var(&msg[0..2]).unwrap().0 as usize;
println!("{} [{}]", len, String::from_utf8(msg[2..len + 2].to_vec()).unwrap());
// println!("{} [{}]", len, String::from_utf8(msg[2..len + 2].to_vec()).unwrap());
return Ok(msg[2..len + 2].to_vec());
}
}