diff options
Diffstat (limited to 'bin/bbackupd/BackupClientContext.h')
-rw-r--r-- | bin/bbackupd/BackupClientContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bbackupd/BackupClientContext.h b/bin/bbackupd/BackupClientContext.h index a1b5d824..04af1645 100644 --- a/bin/bbackupd/BackupClientContext.h +++ b/bin/bbackupd/BackupClientContext.h @@ -58,7 +58,7 @@ private: BackupClientContext(const BackupClientContext &); public: - BackupProtocolClient &GetConnection(); + virtual BackupProtocolCallable &GetConnection(); void CloseAnyOpenConnection(); int GetTimeout() const; BackupClientDeleteList &GetDeleteList(); @@ -223,7 +223,7 @@ private: std::string mHostname; int mPort; uint32_t mAccountNumber; - std::auto_ptr<BackupProtocolClient> mapConnection; + std::auto_ptr<BackupProtocolCallable> mapConnection; bool mExtendedLogging; bool mExtendedLogToFile; std::string mExtendedLogFile; |