diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-09-04 01:36:08 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-09-04 01:36:08 +0000 |
commit | 426a506afd1ffb3bd67e61b4693ee9bb968097a1 (patch) | |
tree | a6a726552411a781e692de657e3a630fa8d65d65 /bin/bbackupd/BackupClientContext.cpp | |
parent | 75ad60bcc4d33589bb5afb307a87fd19b220a9e8 (diff) |
Simplify code with macros, update comments and fix whitespace.
Hopefully all of these changes are inconsequential.
Merged back changes from the test refactor branch to reduce diffs.
Diffstat (limited to 'bin/bbackupd/BackupClientContext.cpp')
-rw-r--r-- | bin/bbackupd/BackupClientContext.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/bbackupd/BackupClientContext.cpp b/bin/bbackupd/BackupClientContext.cpp index 5025bf5c..977f7ec1 100644 --- a/bin/bbackupd/BackupClientContext.cpp +++ b/bin/bbackupd/BackupClientContext.cpp @@ -42,11 +42,11 @@ // -------------------------------------------------------------------------- BackupClientContext::BackupClientContext ( - LocationResolver &rResolver, - TLSContext &rTLSContext, + LocationResolver &rResolver, + TLSContext &rTLSContext, const std::string &rHostname, int Port, - uint32_t AccountNumber, + uint32_t AccountNumber, bool ExtendedLogging, bool ExtendedLogToFile, std::string ExtendedLogFile, @@ -152,7 +152,7 @@ BackupProtocolClient &BackupClientContext::GetConnection() if (mExtendedLogToFile) { ASSERT(mpExtendedLogFileHandle == NULL); - + mpExtendedLogFileHandle = fopen( mExtendedLogFile.c_str(), "a+"); @@ -198,7 +198,7 @@ BackupProtocolClient &BackupClientContext::GetConnection() { // IGNORE } - + // Then throw an exception about this THROW_EXCEPTION_MESSAGE(BackupStoreException, ClientMarkerNotAsExpected, |