summaryrefslogtreecommitdiff
path: root/src/mongo/client/cyrus_sasl_client_session.cpp
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@10gen.com>2014-09-17 15:44:12 -0700
committerAndreas Nilsson <andreas.nilsson@10gen.com>2014-09-17 15:50:45 -0700
commit6b20b7dca19f3597978031fb7dc301380b29bf09 (patch)
tree59d8fededd15c7baf1f103c3eee44262f8085630 /src/mongo/client/cyrus_sasl_client_session.cpp
parent8e3ce6437f5ddf13eab8b256ee5ff98e5e64d410 (diff)
downloadmongo-6b20b7dca19f3597978031fb7dc301380b29bf09.tar.gz
SERVER-7596 Removed trailing whitespaces
Diffstat (limited to 'src/mongo/client/cyrus_sasl_client_session.cpp')
-rw-r--r--src/mongo/client/cyrus_sasl_client_session.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/client/cyrus_sasl_client_session.cpp b/src/mongo/client/cyrus_sasl_client_session.cpp
index 98b9f25b988..bedfa1f5b06 100644
--- a/src/mongo/client/cyrus_sasl_client_session.cpp
+++ b/src/mongo/client/cyrus_sasl_client_session.cpp
@@ -46,7 +46,7 @@ namespace {
}
return new CyrusSaslClientSession();
}
-
+
/*
* Allocator functions to be used by the SASL library, if the client
* doesn't initialize the library for us.
@@ -127,17 +127,17 @@ namespace {
*
* If a client wishes to override this initialization but keep the allocator and mutex
* initialization, it should implement a MONGO_INITIALIZER_GENERAL with
- * CyrusSaslAllocatorsAndMutexes as a prerequisite and CyrusSaslClientContext as a
+ * CyrusSaslAllocatorsAndMutexes as a prerequisite and CyrusSaslClientContext as a
* dependent. If it wishes to override both, it should implement a MONGO_INITIALIZER_GENERAL
- * with CyrusSaslAllocatorsAndMutexes and CyrusSaslClientContext as dependents, or
+ * with CyrusSaslAllocatorsAndMutexes and CyrusSaslClientContext as dependents, or
* initialize the library before calling mongo::runGlobalInitializersOrDie().
*/
- MONGO_INITIALIZER_WITH_PREREQUISITES(CyrusSaslClientContext,
+ MONGO_INITIALIZER_WITH_PREREQUISITES(CyrusSaslClientContext,
("NativeSaslClientContext",
"CyrusSaslAllocatorsAndMutexes"))
(InitializerContext* context) {
- static sasl_callback_t saslClientGlobalCallbacks[] =
+ static sasl_callback_t saslClientGlobalCallbacks[] =
{ { SASL_CB_LOG, SaslCallbackFn(saslClientLogSwallow), NULL /* context */ },
{ SASL_CB_LIST_END } };
@@ -153,7 +153,7 @@ namespace {
sasl_errstring(result, NULL, NULL) <<
")");
}
-
+
SaslClientSession::create = createCyrusSaslClientSession;
return Status::OK();
}
@@ -258,7 +258,7 @@ namespace {
Status CyrusSaslClientSession::initialize() {
if (_saslConnection != NULL)
- return Status(ErrorCodes::AlreadyInitialized,
+ return Status(ErrorCodes::AlreadyInitialized,
"Cannot reinitialize CyrusSaslClientSession.");
int result = sasl_client_new(getParameter(parameterServiceName).toString().c_str(),