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

Added the message that the time is in local time zone.
	* src/RequestGroup.cc
This commit is contained in:
Tatsuhiro Tsujikawa 2008-09-08 13:09:38 +00:00
parent eb652b570e
commit dc8915f599
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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);