From 63cc6de8fd2e6f5f1a997b2e7e4512c1c8f4126f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 18 Sep 2014 20:28:15 +0000 Subject: Improve exception message if a Daemon is used without being configured first --- bin/bbackupd/BackupClientDirectoryRecord.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/bbackupd/BackupClientDirectoryRecord.h b/bin/bbackupd/BackupClientDirectoryRecord.h index 7c2b98fc..05349cd0 100644 --- a/bin/bbackupd/BackupClientDirectoryRecord.h +++ b/bin/bbackupd/BackupClientDirectoryRecord.h @@ -152,13 +152,16 @@ private: void UpdateAttributes(SyncParams &rParams, BackupStoreDirectory *pDirOnStore, const std::string &rLocalPath); - bool UpdateItems(SyncParams &rParams, const std::string &rLocalPath, +protected: // to allow tests to hook in before UpdateItems() runs + virtual bool UpdateItems(SyncParams &rParams, + const std::string &rLocalPath, const std::string &rRemotePath, const Location& rBackupLocation, BackupStoreDirectory *pDirOnStore, std::vector &rEntriesLeftOver, std::vector &rFiles, const std::vector &rDirs); +private: int64_t CreateRemoteDir(const std::string& localDirPath, const std::string& nonVssDirPath, const std::string& remoteDirPath, -- cgit v1.2.3