summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-23 06:21:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-23 06:21:49 +0000
commit20a550534959929978258fb79ff1ff1fa6cfb1ea (patch)
tree162d460a4d89e9dbd6dccb576d5eb981b32faffb /ext/zlib/zlib.c
parent0fe46ceae30eedb2d87f9e62992bf8803c9a4fa5 (diff)
zlib.c: function name
* ext/zlib/zlib.c (rb_gzreader_lines): fix function name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index d962c0a..e741a9f 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -4170,7 +4170,7 @@ rb_gzreader_lines(int argc, VALUE *argv, VALUE obj)
rb_warn("Zlib::GzipReader#lines is deprecated; use #each_line instead");
if (!rb_block_given_p())
return rb_enumeratorize(obj, ID2SYM(rb_intern("each_line")), argc, argv);
- return rb_gzreader_each_line(argc, argv, obj);
+ return rb_gzreader_each(argc, argv, obj);
}
/*