summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-02-05 05:22:38 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-02-05 05:22:38 +0000
commit5e7c1849be95f8e7f9541cb3d8dbbe272844264f (patch)
treec134bcbe7079fa0e83180796b3827f6c2418573e /cpukit
parent * libnetworking/lib/ftpfs.c: Enable write and mount filesystem (diff)
downloadrtems-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')
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/ftpd/ftpd.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 2b8b3c86fc..875d1d83a2 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-05 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * ftpd/ftpd.c: Change SIX_MONTHS to time_t.
+
2009-02-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/lib/ftpfs.c: Enable write and mount filesystem
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)