diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-02-05 05:19:16 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-02-05 05:19:16 +0000 |
commit | dc936a46cadcdb87f99d77c78b5520a9a53314e0 (patch) | |
tree | 2c4f7073620d7b71c58bc05000cee16cf5de1b93 | |
parent | 2009-02-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-dc936a46cadcdb87f99d77c78b5520a9a53314e0.tar.bz2 |
Change SIX_MONTHS to time_t.
-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 fb8119c865..569f8aab44 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) |