Skip to content

Commit

Permalink
reverse(tlv): nit
Browse files Browse the repository at this point in the history
  • Loading branch information
neochristou committed May 1, 2024
1 parent 3883588 commit f27b0f2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified reverse/TLV/public/tlv
Binary file not shown.
2 changes: 1 addition & 1 deletion reverse/TLV/setup/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ fn handle_client(mut stream: TcpStream) {
} else {
println!("Not enough bytes to construct packet");
let hoffset = offset - ((TYPE_LENGTH + LENGTH_LENGTH) as usize);
incomplete_packet.extend_from_slice(&buffer[hoffset..]);
incomplete_packet.extend_from_slice(&bytes[hoffset..]);
break;
}

Expand Down
Binary file modified reverse/TLV/setup/tlv
Binary file not shown.

0 comments on commit f27b0f2

Please sign in to comment.