summaryrefslogtreecommitdiff
path: root/plugins/Updater/zbin/minizip/zip.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Updater/zbin/minizip/zip.c
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Updater/zbin/minizip/zip.c')
-rw-r--r--plugins/Updater/zbin/minizip/zip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Updater/zbin/minizip/zip.c b/plugins/Updater/zbin/minizip/zip.c
index 3c34fc8bd4..f672594071 100644
--- a/plugins/Updater/zbin/minizip/zip.c
+++ b/plugins/Updater/zbin/minizip/zip.c
@@ -1587,7 +1587,7 @@ extern int ZEXPORT zipCloseFileInZipRaw64 (zipFile file, ZPOS64_T uncompressed_s
zi->ci.stream_initialised = 0;
}
#ifdef HAVE_BZIP2
- else if((zi->ci.method == Z_BZIP2ED) && (!zi->ci.raw))
+ else if ((zi->ci.method == Z_BZIP2ED) && (!zi->ci.raw))
{
int tmperr = BZ2_bzCompressEnd(&zi->ci.bstream);
if (err==ZIP_OK)
@@ -1650,7 +1650,7 @@ extern int ZEXPORT zipCloseFileInZipRaw64 (zipFile file, ZPOS64_T uncompressed_s
{
char* p = NULL;
- if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree)
+ if ((uLong)(datasize + 4) > zi->ci.size_centralExtraFree)
{
// we can not write more data to the buffer that we have room for.
return ZIP_BADZIPFILE;
@@ -1967,7 +1967,7 @@ extern int ZEXPORT zipRemoveExtraInfoBlock (char* pData, int* dataLen, short sHe
header = *(short*)p;
dataSize = *(((short*)p)+1);
- if( header == sHeader ) // Header found.
+ if ( header == sHeader ) // Header found.
{
p += dataSize + 4; // skip it. do not copy to temp buffer
}