From d449021900db02396db8f8a512ba9fdac9913a6c Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sat, 6 Apr 2002 17:28:58 +0000 Subject: [PATCH] - Fix zzip_entry_read --- ext/zip/zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } /* }}} */ -- 2.50.1