diff options
author | Andreas Nilsson <andreas.nilsson@10gen.com> | 2014-09-17 15:44:12 -0700 |
---|---|---|
committer | Andreas Nilsson <andreas.nilsson@10gen.com> | 2014-09-17 15:50:45 -0700 |
commit | 6b20b7dca19f3597978031fb7dc301380b29bf09 (patch) | |
tree | 59d8fededd15c7baf1f103c3eee44262f8085630 /src/mongo/client/native_sasl_client_session.cpp | |
parent | 8e3ce6437f5ddf13eab8b256ee5ff98e5e64d410 (diff) | |
download | mongo-6b20b7dca19f3597978031fb7dc301380b29bf09.tar.gz |
SERVER-7596 Removed trailing whitespaces
Diffstat (limited to 'src/mongo/client/native_sasl_client_session.cpp')
-rw-r--r-- | src/mongo/client/native_sasl_client_session.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/client/native_sasl_client_session.cpp b/src/mongo/client/native_sasl_client_session.cpp index bbdcef55f7c..a03e6ecf2dd 100644 --- a/src/mongo/client/native_sasl_client_session.cpp +++ b/src/mongo/client/native_sasl_client_session.cpp @@ -41,7 +41,7 @@ namespace { SaslClientSession* createNativeSaslClientSession(const std::string mech) { return new NativeSaslClientSession(); } - + MONGO_INITIALIZER(NativeSaslClientContext)(InitializerContext* context) { SaslClientSession::create = createNativeSaslClientSession; return Status::OK(); @@ -52,15 +52,15 @@ namespace { NativeSaslClientSession::NativeSaslClientSession() : SaslClientSession(), _step(0), - _done(false), - _saslConversation(NULL) { + _done(false), + _saslConversation(NULL) { } NativeSaslClientSession::~NativeSaslClientSession() {} Status NativeSaslClientSession::initialize() { if (_saslConversation) - return Status(ErrorCodes::AlreadyInitialized, + return Status(ErrorCodes::AlreadyInitialized, "Cannot reinitialize NativeSaslClientSession."); std::string mechanism = getParameter(parameterMechanism).toString(); @@ -72,7 +72,7 @@ namespace { } else { return Status(ErrorCodes::BadValue, - mongoutils::str::stream() << "SASL mechanism " << mechanism << + mongoutils::str::stream() << "SASL mechanism " << mechanism << "is not supported"); } @@ -82,7 +82,7 @@ namespace { Status NativeSaslClientSession::step(const StringData& inputData, std::string* outputData) { if (!_saslConversation) { return Status(ErrorCodes::BadValue, - mongoutils::str::stream() << + mongoutils::str::stream() << "The client authentication session has not been properly initialized"); } |