summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-30 10:18:25 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-30 10:18:25 +0000
commit3293a425afd07c4b004e06e14f1735ca841c1411 (patch)
tree4f6cd2c9bd53b72e160fd2810f28ab529fcc577e /time.c
parentd1a8766f801ccbb11126413d1fa4f9bea19b00ba (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@61 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 f1b40a3606..7dd2bb6286 100644
--- a/time.c
+++ b/time.c
@@ -201,7 +201,7 @@ time_arg(argc, argv, args)
}
/* value validation */
- if ( args[0] < 70|| args[1] > 137
+ if ( args[0] < 70|| args[0] > 137
|| args[1] < 0 || args[1] > 11
|| args[2] < 1 || args[2] > 31
|| args[3] < 0 || args[3] > 23