diff --git a/src/main.rs b/src/main.rs index e82230b..45f8bca 100644 --- a/src/main.rs +++ b/src/main.rs @@ -623,6 +623,7 @@ impl TMClient { match BackendPacket::from_bytes(&header.to_vec()) { Some(packet) => { data_size = packet.size as usize; + read_bytes += BACKEND_PACKET_HEADER_SIZE; log::debug!("Received {} bytes ({}/{})", read_bytes, read_bytes, BACKEND_PACKET_HEADER_SIZE + data_size); }, None => {