Skip to content

Commit ed78f7d

Browse files
author
Owen
committed
Fix gzip issue #20
1 parent b74df7c commit ed78f7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Tar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public function getArchive()
356356
}
357357

358358
if ($this->comptype === Archive::COMPRESS_GZIP) {
359-
return gzcompress($this->memory, $this->complevel);
359+
return gzencode($this->memory, $this->complevel);
360360
}
361361
if ($this->comptype === Archive::COMPRESS_BZIP) {
362362
return bzcompress($this->memory);

0 commit comments

Comments
 (0)