aboutsummaryrefslogtreecommitdiff
path: root/src/appl/gssftp/ftp/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl/gssftp/ftp/cmds.c')
-rw-r--r--src/appl/gssftp/ftp/cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/appl/gssftp/ftp/cmds.c b/src/appl/gssftp/ftp/cmds.c
index 97bcc90..6759a25 100644
--- a/src/appl/gssftp/ftp/cmds.c
+++ b/src/appl/gssftp/ftp/cmds.c
@@ -819,9 +819,9 @@ usage:
&yy, &mo, &day, &hour, &min, &sec);
tm = gmtime(&stbuf.st_mtime);
tm->tm_mon++;
- if (tm->tm_year > yy%100)
+ if (tm->tm_year > yy-1900)
return (1);
- else if (tm->tm_year == yy%100) {
+ else if (tm->tm_year == yy-1900) {
if (tm->tm_mon > mo)
return (1);
} else if (tm->tm_mon == mo) {