Fix writing wrong compressed size

This commit is contained in:
Truman Kilen 2024-01-11 20:24:41 -06:00
parent da3e96ea93
commit 468eab37e4

View file

@ -194,7 +194,7 @@ impl Entry {
compressed: compressed compressed: compressed
.as_ref() .as_ref()
.map(|c: &Vec<u8>| c.len() as u64) .map(|c: &Vec<u8>| c.len() as u64)
.unwrap_or_default(), .unwrap_or(len),
uncompressed: len, uncompressed: len,
compression_slot, compression_slot,
timestamp: None, timestamp: None,