Skip to content

Commit

Permalink
Fixed logging error where expected is less than found
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmcquilkin committed Mar 24, 2024
1 parent b48879b commit 923d2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connections/stream_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ impl StreamBuffer {
if self.buffer.len() < PACKET_HEADER_SIZE + packet_data_size {
return Err(StreamBufferError::IncompletePacket {
buffer_size: self.buffer.len(),
packet_size: packet_data_size,
packet_size: PACKET_HEADER_SIZE + packet_data_size,
});
}

Expand Down

0 comments on commit 923d2b7

Please sign in to comment.