]> granicus.if.org Git - python/commitdiff
Tiny patch for zlib 1.1.2
authorGuido van Rossum <guido@python.org>
Thu, 23 Apr 1998 20:22:11 +0000 (20:22 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 23 Apr 1998 20:22:11 +0000 (20:22 +0000)
Modules/zlibmodule.c

index 1f99646ba5a0d1d5e3ee5929eaf1e227941bba10..93bb99ffc014bd9a8fe69001102d564c375dbff3 100644 (file)
@@ -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)