Commit 0e98ea6e authored by Guido van Rossum's avatar Guido van Rossum

Tiny patch for zlib 1.1.2

parent 54985223
......@@ -217,6 +217,7 @@ PyZlib_decompress(self, args)
{
case(Z_STREAM_END):
break;
case(Z_BUF_ERROR):
case(Z_OK):
/* need more memory */
if (_PyString_Resize(&result_str, r_strlen << 1) == -1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment