Skip to content

Commit

Permalink
Fix writing wrong compressed size
Browse files Browse the repository at this point in the history
  • Loading branch information
trumank committed Jan 12, 2024
1 parent da3e96e commit 468eab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repak/src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ impl Entry {
compressed: compressed
.as_ref()
.map(|c: &Vec<u8>| c.len() as u64)
.unwrap_or_default(),
.unwrap_or(len),
uncompressed: len,
compression_slot,
timestamp: None,
Expand Down

0 comments on commit 468eab3

Please sign in to comment.