summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-04-29 19:23:02 +0000
committerChris Wilson <chris+github@qwirx.com>2014-04-29 19:23:02 +0000
commita5cee359ce48756a7916940b39b62a427c30ad31 (patch)
treed148094e87eaaaa03be2cd7f78eacd6065cf37d3 /lib
parent1edb424b734ea3e4f2128e1cbc77a22bd001f8d5 (diff)
Whitespace fixes.
Diffstat (limited to 'lib')
-rw-r--r--lib/backupstore/BackupStoreContext.cpp4
-rw-r--r--lib/backupstore/BackupStoreDirectory.h2
-rw-r--r--lib/common/IOStream.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/backupstore/BackupStoreContext.cpp b/lib/backupstore/BackupStoreContext.cpp
index 0fdbe106..5b94cd41 100644
--- a/lib/backupstore/BackupStoreContext.cpp
+++ b/lib/backupstore/BackupStoreContext.cpp
@@ -1121,7 +1121,7 @@ int64_t BackupStoreContext::AddDirectory(int64_t InDirectory,
}
// Commit the file
- dirFile.Commit(BACKUP_STORE_CONVERT_TO_RAID_IMMEDIATELY);
+ dirFile.Commit(BACKUP_STORE_CONVERT_TO_RAID_IMMEDIATELY);
// Make sure the size of the directory is added to the usage counts in the info
ASSERT(dirSize > 0);
@@ -1151,7 +1151,7 @@ int64_t BackupStoreContext::AddDirectory(int64_t InDirectory,
RemoveDirectoryFromCache(InDirectory);
// Don't worry about the incremented number in the store info
- throw;
+ throw;
}
// Save the store info (may not be postponed)
diff --git a/lib/backupstore/BackupStoreDirectory.h b/lib/backupstore/BackupStoreDirectory.h
index 6632b8b8..65c60a83 100644
--- a/lib/backupstore/BackupStoreDirectory.h
+++ b/lib/backupstore/BackupStoreDirectory.h
@@ -139,7 +139,7 @@ public:
void WriteToStreamDependencyInfo(IOStream &rStream) const;
private:
- BackupStoreFilename mName;
+ BackupStoreFilename mName;
box_time_t mModificationTime;
int64_t mObjectID;
int64_t mSizeInBlocks;
diff --git a/lib/common/IOStream.h b/lib/common/IOStream.h
index 51aef19f..81f1cfa6 100644
--- a/lib/common/IOStream.h
+++ b/lib/common/IOStream.h
@@ -58,12 +58,12 @@ public:
virtual bool StreamDataLeft() = 0;
// Has the stream been closed (writing not possible)
virtual bool StreamClosed() = 0;
-
+
// Utility functions
bool ReadFullBuffer(void *pBuffer, int NBytes, int *pNBytesRead, int Timeout = IOStream::TimeOutInfinite);
bool CopyStreamTo(IOStream &rCopyTo, int Timeout = IOStream::TimeOutInfinite, int BufferSize = 1024);
void Flush(int Timeout = IOStream::TimeOutInfinite);
-
+
static int ConvertSeekTypeToOSWhence(int SeekType);
virtual std::string ToString() const;
};