diff options
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r-- | ext/zlib/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 56a6acc289..d8cbe2fd65 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -1434,7 +1434,7 @@ deflate_run(VALUE args) * * def deflate(string, level) * z = Zlib::Deflate.new(level) - * dst = z.deflate(string, Zlib::NO_FLUSH) + * dst = z.deflate(string, Zlib::FINISH) * z.close * dst * end |