This commit is contained in:
Chris Hennick 2023-05-04 12:46:46 -07:00
parent b8d393a628
commit 6003a2cce5
No known key found for this signature in database
GPG key ID: 25653935CC8B6C74

View file

@ -498,7 +498,6 @@ impl<W: Write + Seek> ZipWriter<W> {
}
self.writing_to_file = false;
self.writing_raw = false;
Ok(())
}
@ -538,6 +537,7 @@ impl<W: Write + Seek> ZipWriter<W> {
return Err(e);
}
self.writing_to_file = true;
self.writing_raw = false;
Ok(())
}