summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-11-15 22:14:04 +0000
committerChris Wilson <chris+github@qwirx.com>2008-11-15 22:14:04 +0000
commit12796ec4e1995966a332e3db4ef4bea670642396 (patch)
tree69a1dcbfb1f534b55cbf1f325dc14b7701bd2697
parent965283c656ee2db30ab91b91bb8a08df18ef7946 (diff)
Fix typo in variable name.
-rw-r--r--lib/raidfile/RaidFileUtil.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/raidfile/RaidFileUtil.cpp b/lib/raidfile/RaidFileUtil.cpp
index 583b71f2..84ff2060 100644
--- a/lib/raidfile/RaidFileUtil.cpp
+++ b/lib/raidfile/RaidFileUtil.cpp
@@ -30,11 +30,13 @@
// Created: 2003/07/11
//
// --------------------------------------------------------------------------
-RaidFileUtil::ExistType RaidFileUtil::RaidFileExists(RaidFileDiscSet &rDiscSet, const std::string &rFilename, int *pStartDisc, int *pExisitingFiles, int64_t *pRevisionID)
+RaidFileUtil::ExistType RaidFileUtil::RaidFileExists(RaidFileDiscSet &rDiscSet,
+ const std::string &rFilename, int *pStartDisc, int *pExistingFiles,
+ int64_t *pRevisionID)
{
- if(pExisitingFiles)
+ if(pExistingFiles)
{
- *pExisitingFiles = 0;
+ *pExistingFiles = 0;
}
// For stat call, although the results are not examined
@@ -89,9 +91,9 @@ RaidFileUtil::ExistType RaidFileUtil::RaidFileExists(RaidFileDiscSet &rDiscSet,
// Component file exists, add to count
rfCount++;
// Set flags for existance?
- if(pExisitingFiles)
+ if(pExistingFiles)
{
- (*pExisitingFiles) |= (1 << f);
+ (*pExistingFiles) |= (1 << f);
}
// Revision ID
if(pRevisionID != 0)