0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

extraneous LF in error message for security

This commit is contained in:
Dwight 2010-07-01 11:18:11 -04:00
parent c2aa439415
commit efbd83e6ef
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ namespace mongo {
_client->_context = _oldContext; // note: _oldContext may be null
stringstream ss;
ss << "unauthorized db:" << _db->name << " lock type:" << lockState << " client:" << _client->clientAddress() << endl;
ss << "unauthorized db:" << _db->name << " lock type:" << lockState << " client:" << _client->clientAddress();
uasserted( 10057 , ss.str() );
}

View File

@ -24,7 +24,7 @@
#include "repl.h"
#include "update.h"
#define DEBUGUPDATE(x) cout << x << endl;
//#define DEBUGUPDATE(x) cout << x << endl;
#define DEBUGUPDATE(x)
namespace mongo {