]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fixed wrong error name when calling inflate in minideflate.
authorNathan Moinvaziri <nathan@nathanm.com>
Wed, 23 Feb 2022 20:07:01 +0000 (12:07 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 16 Mar 2022 10:42:45 +0000 (11:42 +0100)
test/minideflate.c

index 2ea280f21ab857401be46da58ef8440fdb1a1363..3f687877a4fcc90b7e708a463cf9b8bf5c67d85a 100644 (file)
@@ -167,7 +167,7 @@ void inflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_
         do {
             err = PREFIX(inflate)(&d_stream, flush);
             if (err == Z_STREAM_END) break;
-            CHECK_ERR(err, "deflate");
+            CHECK_ERR(err, "inflate");
 
             if (d_stream.next_out == write_buf + write_buf_size) {
                 fwrite(write_buf, 1, write_buf_size, fout);