summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-07 21:04:24 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-07 21:04:24 +0000
commit072943af665411fe7b5d9c772cf669ad7ae8cc7e (patch)
tree9ca30602b923e7a275ef946a7731156f44a70938 /time.c
parentf161d2b7a68aa42add7fc3e262a644fb739421b2 (diff)
merge revision(s) 14883:
* time.c (time_arg): use converted object. [ruby-core:14759] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 9627ddb4e7..b8da8633a8 100644
--- a/time.c
+++ b/time.c
@@ -349,7 +349,7 @@ time_arg(argc, argv, tm, usec)
tm->tm_mon = -1;
for (i=0; i<12; i++) {
if (RSTRING(s)->len == 3 &&
- strcasecmp(months[i], RSTRING(v[1])->ptr) == 0) {
+ strcasecmp(months[i], RSTRING(s)->ptr) == 0) {
tm->tm_mon = i;
break;
}