summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-04-09 22:14:46 +0000
committerChris Wilson <chris+github@qwirx.com>2014-04-09 22:14:46 +0000
commit8f7ccfa9502a4ebb9b92cf6f78f11f6f6dbe660b (patch)
treec0e3dcab5392deaf25880db4d29f7145752f1355
parent4b57c48df150b4eb440078bd85a28c046dee8c63 (diff)
Don't pass AttributesModTime as the hash of the new directory's attributes.
An incorrect comment led me to believe that this parameter was the new directory's AttributesModTime, but actually it was its hash.
-rw-r--r--lib/backupstore/BackupStoreContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupstore/BackupStoreContext.cpp b/lib/backupstore/BackupStoreContext.cpp
index 07618625..c6d45324 100644
--- a/lib/backupstore/BackupStoreContext.cpp
+++ b/lib/backupstore/BackupStoreContext.cpp
@@ -1109,7 +1109,7 @@ int64_t BackupStoreContext::AddDirectory(int64_t InDirectory,
{
dir.AddEntry(rFilename, ModificationTime, id, dirSize,
BackupStoreDirectory::Entry::Flags_Dir,
- AttributesModTime);
+ 0 /* attributes hash */);
SaveDirectory(dir, InDirectory);
// Increment reference count on the new directory to one