diff options
| author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-04 14:11:06 +0000 |
|---|---|---|
| committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-04 14:11:06 +0000 |
| commit | 83b11f4a709264f59aaa9005bcd55b18d286538b (patch) | |
| tree | c8329d44b4fee192b4df15b067a7eabb2a067a7d /ext | |
| parent | 91217bb82ddb6aaab8411deb1ddb711925b2a5e7 (diff) | |
| download | ruby-83b11f4a709264f59aaa9005bcd55b18d286538b.tar.gz ruby-83b11f4a709264f59aaa9005bcd55b18d286538b.tar.xz ruby-83b11f4a709264f59aaa9005bcd55b18d286538b.zip | |
* ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -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 47e53dcee..b971ea76d 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 { |
