summaryrefslogtreecommitdiff
path: root/ext/zip
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-04-06 17:28:58 +0000
committerDerick Rethans <derick@php.net>2002-04-06 17:28:58 +0000
commitd449021900db02396db8f8a512ba9fdac9913a6c (patch)
tree0a81ef6e8336cc9e49bbfda550db11b4196e6d06 /ext/zip
parentd3c0d670600550d4d67fc2988ded75caffe6db03 (diff)
downloadphp-git-d449021900db02396db8f8a512ba9fdac9913a6c.tar.gz
- Fix zzip_entry_read
Diffstat (limited to 'ext/zip')
-rw-r--r--ext/zip/zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c
index f5bf798ba4..7efb16db7b 100644
--- a/ext/zip/zip.c
+++ b/ext/zip/zip.c
@@ -285,7 +285,7 @@ PHP_FUNCTION(zip_entry_read)
if (ret == 0) {
RETURN_FALSE;
} else {
- RETURN_STRINGL(buf, len, 0);
+ RETURN_STRINGL(buf, ret, 0);
}
}
/* }}} */