diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-02-05 05:22:38 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-02-05 05:22:38 +0000 |
commit | 5e7c1849be95f8e7f9541cb3d8dbbe272844264f (patch) | |
tree | c134bcbe7079fa0e83180796b3827f6c2418573e /cpukit/ftpd | |
parent | * libnetworking/lib/ftpfs.c: Enable write and mount filesystem (diff) | |
download | rtems-5e7c1849be95f8e7f9541cb3d8dbbe272844264f.tar.bz2 |
2009-02-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Change SIX_MONTHS to time_t.
Diffstat (limited to 'cpukit/ftpd')
-rw-r--r-- | cpukit/ftpd/ftpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c index a7176a3248..da7ae848be 100644 --- a/cpukit/ftpd/ftpd.c +++ b/cpukit/ftpd/ftpd.c @@ -1196,7 +1196,7 @@ send_dirline(int s, int wide, time_t curTime, char const* path, struct tm bt; time_t tf = stat_buf.st_mtime; enum { SIZE = 80 }; - uint32_t SIX_MONTHS = (365L*24L*60L*60L)/2L; + time_t SIX_MONTHS = (365L*24L*60L*60L)/2L; char timeBuf[SIZE]; gmtime_r(&tf, &bt); if(curTime > tf + SIX_MONTHS || tf > curTime + SIX_MONTHS) |