From 468eab37e406752259883d924c1657c8936a9ee8 Mon Sep 17 00:00:00 2001 From: Truman Kilen Date: Thu, 11 Jan 2024 20:24:41 -0600 Subject: [PATCH] Fix writing wrong compressed size --- repak/src/entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repak/src/entry.rs b/repak/src/entry.rs index 7246547..7b3f0da 100644 --- a/repak/src/entry.rs +++ b/repak/src/entry.rs @@ -194,7 +194,7 @@ impl Entry { compressed: compressed .as_ref() .map(|c: &Vec| c.len() as u64) - .unwrap_or_default(), + .unwrap_or(len), uncompressed: len, compression_slot, timestamp: None,