summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip_fread.c
diff options
context:
space:
mode:
authorAnatoliy Belsky <ab@php.net>2012-06-05 22:11:07 +0200
committerAnatoliy Belsky <ab@php.net>2012-06-07 21:01:31 +0200
commitf4a44f18b8fe5d23a11d12b048d4effce283379f (patch)
tree35850a34200dc4be272f16fa486f83a4f25194dd /ext/zip/lib/zip_fread.c
parenta39bcfc5ee3931c25bdbc5dc2409e6d9dd98ff52 (diff)
downloadphp-git-f4a44f18b8fe5d23a11d12b048d4effce283379f.tar.gz
rechecked the merged libzip, took also the indents from the original to
avoid confusion next time
Diffstat (limited to 'ext/zip/lib/zip_fread.c')
-rw-r--r--ext/zip/lib/zip_fread.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/zip/lib/zip_fread.c b/ext/zip/lib/zip_fread.c
index 4c828a8433..a6c0851b0a 100644
--- a/ext/zip/lib/zip_fread.c
+++ b/ext/zip/lib/zip_fread.c
@@ -60,15 +60,6 @@ zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread)
_zip_error_set_from_source(&zf->error, zf->src);
return -1;
}
-
- /* XXX the following left from the previous PHP port, let's see how to use it now */
- /*zf->zstr->next_out = (Bytef *)outbuf;
- zf->zstr->avail_out = toread;
- out_before = zf->zstr->total_out;*/
-
- /* endless loop until something has been accomplished */
- /*for (;;) {
- ret = inflate(zf->zstr, Z_SYNC_FLUSH);*/
return n;
}