diff --git a/ChangeLog b/ChangeLog index bc4ac6910f..509b16097b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 4 23:10:08 2008 Yusuke Endoh + + * ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo. + Wed Jun 4 18:53:39 2008 Yukihiro Matsumoto * object.c (rb_obj_alloc): RDoc updated. a patch from Gaston diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 47e53dceeb..b971ea76db 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -2402,7 +2402,7 @@ rb_gzfile_set_mtime(VALUE obj, VALUE mtime) rb_raise(cGzError, "header is already written"); } - if (FIXNUM_P(time)) { + if (FIXNUM_P(mtime)) { gz->mtime = FIX2INT(mtime); } else {