diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backupstore/BackupStoreContext.cpp | 4 | ||||
-rw-r--r-- | lib/backupstore/BackupStoreDirectory.h | 2 | ||||
-rw-r--r-- | lib/common/IOStream.h | 4 |
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; }; |