summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roehrich <sr@php.net>2002-12-01 18:48:51 +0000
committerStefan Roehrich <sr@php.net>2002-12-01 18:48:51 +0000
commite50dc16b2188e2c4a0052f670273b7b21cce08a3 (patch)
treeabf02c15728235a7b0186f0166fcff1fd6402683
parentcef45338c9e60989d944032dae5a3594ab5c88b4 (diff)
downloadphp-git-e50dc16b2188e2c4a0052f670273b7b21cce08a3.tar.gz
Comment about maximal length now matches code.
-rw-r--r--ext/zlib/zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 54fb078691..136bd5a268 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -488,7 +488,7 @@ PHP_FUNCTION(gzuncompress)
/*
zlib::uncompress() wants to know the output data length
if none was given as a parameter
- we try from input length * 2 up to input length * 2^8
+ we try from input length * 2 up to input length * 2^15
doubling it whenever it wasn't big enough
that should be eneugh for all real life cases
*/
@@ -616,7 +616,7 @@ PHP_FUNCTION(gzinflate)
/*
stream.avail_out wants to know the output data length
if none was given as a parameter
- we try from input length * 2 up to input length * 2^16
+ we try from input length * 2 up to input length * 2^15
doubling it whenever it wasn't big enough
that should be enaugh for all real life cases
*/