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:
parent
c2aa439415
commit
efbd83e6ef
@ -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() );
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user