diff options
author | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-01-16 14:49:39 +0000 |
---|---|---|
committer | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-01-16 14:49:39 +0000 |
commit | e781373eab3282c392e3f5dbd990a59378843bc6 (patch) | |
tree | bfd8de7da1465bce6a045b3e382f250244f8bc63 /missing | |
parent | 8717a87985a8b5fa3443ed9f5691f758d16d153a (diff) | |
download | ruby-openssl-history-e781373eab3282c392e3f5dbd990a59378843bc6.tar.gz |
* really fixed strptime.c (silly me, thanks Hynek)
Diffstat (limited to 'missing')
-rw-r--r-- | missing/strptime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/strptime.c b/missing/strptime.c index 2ae4cbf..9178ec6 100644 --- a/missing/strptime.c +++ b/missing/strptime.c @@ -350,7 +350,7 @@ strptime(char *buf, char *fmt, struct tm *tm) if (c == 'Y') i -= 1900; - else if (c < 69) /*c=='y', 00-68 is for 20xx, the rest is for 19xx*/ + else if (i < 69) /*c=='y', 00-68 is for 20xx, the rest is for 19xx*/ i += 100; if (i < 0) |