From 6b20b7dca19f3597978031fb7dc301380b29bf09 Mon Sep 17 00:00:00 2001 From: Andreas Nilsson Date: Wed, 17 Sep 2014 15:44:12 -0700 Subject: SERVER-7596 Removed trailing whitespaces --- src/mongo/client/cyrus_sasl_client_session.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mongo/client/cyrus_sasl_client_session.cpp') 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(), -- cgit v1.2.1