diff options
-rw-r--r-- | Modules/zlibmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c index 1f99646..93bb99f 100644 --- a/Modules/zlibmodule.c +++ b/Modules/zlibmodule.c @@ -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) |