diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-03-17 19:31:31 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-03-17 19:31:31 +0000 |
commit | d89b46203d7381d858c629ed0767ba4bd4d51d71 (patch) | |
tree | d5cd36ddd500affa3091099368ca03de3bf9551d /usr.bin/ftp | |
parent | c5e441df5c5de5c985fa199fa7995a4e383875b4 (diff) |
Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r-- | usr.bin/ftp/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ftp/util.c b/usr.bin/ftp/util.c index 2013c8aff65..984bf71beda 100644 --- a/usr.bin/ftp/util.c +++ b/usr.bin/ftp/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.71 2015/03/15 00:41:28 millert Exp $ */ +/* $OpenBSD: util.c,v 1.72 2015/03/17 19:31:30 millert Exp $ */ /* $NetBSD: util.c,v 1.12 1997/08/18 10:20:27 lukem Exp $ */ /*- @@ -645,7 +645,7 @@ remotemodtime(const char *file, int noisy) timebuf.tm_hour = hour; timebuf.tm_mday = day; timebuf.tm_mon = mo - 1; - timebuf.tm_year = yy - TM_YEAR_BASE; + timebuf.tm_year = yy - 1900; timebuf.tm_isdst = -1; rtime = mktime(&timebuf); if (rtime == -1 && (noisy |