summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupStoreContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backupstore/BackupStoreContext.cpp')
-rw-r--r--lib/backupstore/BackupStoreContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/backupstore/BackupStoreContext.cpp b/lib/backupstore/BackupStoreContext.cpp
index e3de2232..f55b1dc8 100644
--- a/lib/backupstore/BackupStoreContext.cpp
+++ b/lib/backupstore/BackupStoreContext.cpp
@@ -699,7 +699,7 @@ int64_t BackupStoreContext::AddFile(IOStream &rFile, int64_t InDirectory,
if(DiffFromFileID == 0)
{
- mapStoreInfo->AdjustNumFiles(1);
+ mapStoreInfo->AdjustNumCurrentFiles(1);
}
else
{
@@ -794,7 +794,7 @@ bool BackupStoreContext::DeleteFile(const BackupStoreFilename &rFilename, int64_
// Modify the store info, and write
// It definitely wasn't an old or deleted version
- mapStoreInfo->AdjustNumFiles(-1);
+ mapStoreInfo->AdjustNumCurrentFiles(-1);
mapStoreInfo->AdjustNumDeletedFiles(1);
mapStoreInfo->ChangeBlocksInDeletedFiles(blocksDel);