summaryrefslogtreecommitdiff
path: root/lib/backupstore
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-11-01 23:37:12 +0000
committerChris Wilson <chris+github@qwirx.com>2011-11-01 23:37:12 +0000
commit66fa21ca6b828e960c80fea7f9115f6e83b9bf37 (patch)
tree84152cc1258c60e443c06b87591b4d7d8c9beb04 /lib/backupstore
parentea88ca02a8da5e406a7a71892eb0b03de0acba0b (diff)
Fix spelling error in AddUnattachedObject method name.
Diffstat (limited to 'lib/backupstore')
-rw-r--r--lib/backupstore/BackupStoreCheck2.cpp6
-rw-r--r--lib/backupstore/BackupStoreDirectory.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/backupstore/BackupStoreCheck2.cpp b/lib/backupstore/BackupStoreCheck2.cpp
index c6262cb2..ae5179ed 100644
--- a/lib/backupstore/BackupStoreCheck2.cpp
+++ b/lib/backupstore/BackupStoreCheck2.cpp
@@ -392,7 +392,7 @@ void BackupStoreDirectoryFixer::InsertObject(int64_t ObjectID, bool IsDirectory,
}
// Add a new entry in an appropriate place
- mDirectory.AddUnattactedObject(objectStoreFilename, modTime,
+ mDirectory.AddUnattachedObject(objectStoreFilename, modTime,
ObjectID, sizeInBlocks,
IsDirectory?(BackupStoreDirectory::Entry::Flags_Dir):(BackupStoreDirectory::Entry::Flags_File));
}
@@ -883,12 +883,12 @@ bool BackupStoreDirectory::CheckAndFix()
// --------------------------------------------------------------------------
//
// Function
-// Name: BackupStoreDirectory::AddUnattactedObject(...)
+// Name: BackupStoreDirectory::AddUnattachedObject(...)
// Purpose: Adds an object which is currently unattached. Assume that CheckAndFix() will be called afterwards.
// Created: 22/4/04
//
// --------------------------------------------------------------------------
-void BackupStoreDirectory::AddUnattactedObject(const BackupStoreFilename &rName,
+void BackupStoreDirectory::AddUnattachedObject(const BackupStoreFilename &rName,
box_time_t ModificationTime, int64_t ObjectID, int64_t SizeInBlocks, int16_t Flags)
{
Entry *pnew = new Entry(rName, ModificationTime, ObjectID, SizeInBlocks, Flags,
diff --git a/lib/backupstore/BackupStoreDirectory.h b/lib/backupstore/BackupStoreDirectory.h
index 0dfe6422..c8d3a11f 100644
--- a/lib/backupstore/BackupStoreDirectory.h
+++ b/lib/backupstore/BackupStoreDirectory.h
@@ -261,7 +261,9 @@ public:
// For recovery of the store
// Implemented in BackupStoreCheck2.cpp
bool CheckAndFix();
- void AddUnattactedObject(const BackupStoreFilename &rName, box_time_t ModificationTime, int64_t ObjectID, int64_t SizeInBlocks, int16_t Flags);
+ void AddUnattachedObject(const BackupStoreFilename &rName,
+ box_time_t ModificationTime, int64_t ObjectID,
+ int64_t SizeInBlocks, int16_t Flags);
bool NameInUse(const BackupStoreFilename &rName);
// Don't use these functions in normal code!