summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupClientDirectoryRecord.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2010-02-24 19:23:14 +0000
committerChris Wilson <chris+github@qwirx.com>2010-02-24 19:23:14 +0000
commit02aec706836e1a6ee905f6f00228957a71251391 (patch)
treeb7dbe494283252f08c864cc59e389efeb3399b6f /bin/bbackupd/BackupClientDirectoryRecord.cpp
parent751e25f296a8ae7569f4df8b1645f092a6c1d0fd (diff)
Add notification about uploading new file attributes.
Add check for changing file creation times on Windows, to cause the attributes to be uploaded again.
Diffstat (limited to 'bin/bbackupd/BackupClientDirectoryRecord.cpp')
-rw-r--r--bin/bbackupd/BackupClientDirectoryRecord.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupClientDirectoryRecord.cpp b/bin/bbackupd/BackupClientDirectoryRecord.cpp
index 6b8c0d9a..66ca1b51 100644
--- a/bin/bbackupd/BackupClientDirectoryRecord.cpp
+++ b/bin/bbackupd/BackupClientDirectoryRecord.cpp
@@ -613,8 +613,10 @@ void BackupClientDirectoryRecord::UpdateAttributes(BackupClientDirectoryRecord::
const StreamableMemBlock &storeAttrEnc(pDirOnStore->GetAttributes());
// Explict decryption
BackupClientFileAttributes storeAttr(storeAttrEnc);
+
// Compare the attributes
- if(attr.Compare(storeAttr, true, true /* ignore both modification times */))
+ if(attr.Compare(storeAttr, true,
+ true /* ignore both modification times */))
{
// No update necessary
updateAttr = false;