From e2f9d25b1b8bd65145cbe332302e2c23ed11cf03 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Thu, 4 May 2023 12:07:34 -0700 Subject: [PATCH] Bug fix --- src/write.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/write.rs b/src/write.rs index 1590bed4..729d9395 100644 --- a/src/write.rs +++ b/src/write.rs @@ -510,6 +510,7 @@ impl ZipWriter { .inner .prepare_next_writer(CompressionMethod::Stored, None)?; self.inner.switch_to(make_plain_writer)?; + self.writing_to_extra_field = false; self.writing_to_file = false; self.writing_raw = false; Ok(())