You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/02 10:09:53 UTC
incubator-corinthia git commit: Inflate working,
ready to be integrated and tested quite a bit more
Repository: incubator-corinthia
Updated Branches:
refs/heads/newZipExperiment2 ab5f29b1d -> 1375ad9a0
Inflate working, ready to be integrated and tested quite a bit more
Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/1375ad9a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/1375ad9a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/1375ad9a
Branch: refs/heads/newZipExperiment2
Commit: 1375ad9a09feee692dbf01f04b0b5c38ea7a17e5
Parents: ab5f29b
Author: jani <ja...@apache.org>
Authored: Sun Aug 2 10:09:33 2015 +0200
Committer: jani <ja...@apache.org>
Committed: Sun Aug 2 10:09:33 2015 +0200
----------------------------------------------------------------------
DocFormats/platform/src/Wrapper_zip.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1375ad9a/DocFormats/platform/src/Wrapper_zip.c
----------------------------------------------------------------------
diff --git a/DocFormats/platform/src/Wrapper_zip.c b/DocFormats/platform/src/Wrapper_zip.c
index c4cc2e3..b0cd41f 100644
--- a/DocFormats/platform/src/Wrapper_zip.c
+++ b/DocFormats/platform/src/Wrapper_zip.c
@@ -152,10 +152,10 @@ static int readDirectory(FILE *zipFile, DFextZipHandleP zipHandle)
return -1;
// Save information
- zipDirEntry->compressedSize = recFile->compressedSize;
- zipDirEntry->fileNameLength = recFile->fileNameLength;
- zipDirEntry->uncompressedSize = recFile->uncompressedSize;
- zipDirEntry->compressionMethod = recDir->compressionMethod;
+ zipDirEntry->compressedSize = recFile->compressedSize;
+ zipDirEntry->fileNameLength = recFile->fileNameLength;
+ zipDirEntry->uncompressedSize = recFile->uncompressedSize;
+ zipDirEntry->compressionMethod = recFile->compressionMethod;
// Add filename
zipDirEntry->fileName = xmalloc(zipDirEntry->fileNameLength + 1);