From 119880f3c92aba8884086dfe4f5faf3e55820f74 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 27 Feb 2014 23:35:40 +0000 Subject: Shorthand check for deleted flag. --- lib/backupstore/HousekeepStoreAccount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3