summaryrefslogtreecommitdiff
path: root/lib/backupstore
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-02-27 23:35:40 +0000
committerChris Wilson <chris+github@qwirx.com>2014-02-27 23:35:40 +0000
commit119880f3c92aba8884086dfe4f5faf3e55820f74 (patch)
tree0eebf86852ae19dc7b60e38dd6faa20adf64c87c /lib/backupstore
parent99f6de02e5d26c201dc8f6b99b41d9803c3acd4a (diff)
Shorthand check for deleted flag.
Diffstat (limited to 'lib/backupstore')
-rw-r--r--lib/backupstore/HousekeepStoreAccount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupstore/HousekeepStoreAccount.cpp b/lib/backupstore/HousekeepStoreAccount.cpp
index 9c1100ec..e5339acc 100644
--- a/lib/backupstore/HousekeepStoreAccount.cpp
+++ b/lib/backupstore/HousekeepStoreAccount.cpp
@@ -1025,7 +1025,7 @@ void HousekeepStoreAccount::DeleteEmptyDirectory(int64_t dirId,
// Find the entry
BackupStoreDirectory::Entry *pdirentry =
containingDir.FindEntryByID(dir.GetObjectID());
- if((pdirentry != 0) && ((pdirentry->GetFlags() & BackupStoreDirectory::Entry::Flags_Deleted) != 0))
+ if((pdirentry != 0) && pdirentry->IsDeleted())
{
// Should be deleted
containingDir.DeleteEntry(dir.GetObjectID());