Skip to content

Commit

Permalink
Use minizip-ng 4.0.1 (from 3.0.7) (#1696)
Browse files Browse the repository at this point in the history
* Use minizip-ng 4.0.1 (from 3.0.7)

* Update writer tests
  • Loading branch information
flomnes committed Jun 27, 2024
1 parent 94cd936 commit 6893138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/writer/zip_writer.cpp
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ ZipWriter::ZipWriter(std::shared_ptr<Yuni::Job::QueueService> qs,
pArchivePath(std::string(archivePath) + ".zip"),
pDurationCollector(duration_collector)
{
mz_zip_writer_create(&pZipHandle);
pZipHandle = mz_zip_writer_create();
if (int32_t ret = mz_zip_writer_open_file(pZipHandle, pArchivePath.c_str(), 0, 0); ret != MZ_OK)
{
logs.error() << "Error opening zip file " << pArchivePath << " (" << ret << ")";

0 comments on commit 6893138

Please sign in to comment.