Browse Source

2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

	Added the message that the time is in local time zone.
	* src/RequestGroup.cc
Tatsuhiro Tsujikawa 17 years ago
parent
commit
dc8915f599
2 changed files with 7 additions and 1 deletions
  1. 5 0
      ChangeLog
  2. 2 1
      src/RequestGroup.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-09-08  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	Added the message that the time is in local time zone.
+	* src/RequestGroup.cc
+
 2008-09-08  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 	Implemented the ability to get timestamp from remote FTP server using

+ 2 - 1
src/RequestGroup.cc

@@ -1030,7 +1030,8 @@ void RequestGroup::applyLastModifiedTimeToLocalFiles()
 {
   if(!_pieceStorage.isNull() && _lastModifiedTime.good()) {
     time_t t = _lastModifiedTime.getTime();
-    _logger->info("Applying Last-Modified time: %s", ctime(&t));
+    _logger->info("Applying Last-Modified time: %s in local time zone",
+		  ctime(&t));
     size_t n =
       _pieceStorage->getDiskAdaptor()->utime(Time(), _lastModifiedTime);
     _logger->info("Last-Modified attrs of %zu files were updated.", n);