]> granicus.if.org Git - php/commitdiff
Comment about maximal length now matches code.
authorStefan Roehrich <sr@php.net>
Sun, 1 Dec 2002 18:48:51 +0000 (18:48 +0000)
committerStefan Roehrich <sr@php.net>
Sun, 1 Dec 2002 18:48:51 +0000 (18:48 +0000)
ext/zlib/zlib.c

index 54fb0786913fd749e0d7e36405114c35e8079405..136bd5a268f7d81510ee1bdc7f45c93ebc846cfa 100644 (file)
@@ -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 
        */