From: Derick Rethans Date: Sat, 6 Apr 2002 17:28:58 +0000 (+0000) Subject: - Fix zzip_entry_read X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~839 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d449021900db02396db8f8a512ba9fdac9913a6c;p=php - Fix zzip_entry_read --- 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); } } /* }}} */