From 02aec706836e1a6ee905f6f00228957a71251391 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 24 Feb 2010 19:23:14 +0000 Subject: Add notification about uploading new file attributes. Add check for changing file creation times on Windows, to cause the attributes to be uploaded again. --- bin/bbackupd/BackupClientDirectoryRecord.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/bbackupd/BackupClientDirectoryRecord.cpp') 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; -- cgit v1.2.3