diff options
author | Shaun Verch <shaun.verch@10gen.com> | 2013-09-18 14:02:36 -0400 |
---|---|---|
committer | Shaun Verch <shaun.verch@10gen.com> | 2013-10-04 16:58:54 -0400 |
commit | 6fc951d492881a32754bc3e38e8b5eca78929197 (patch) | |
tree | 73c2afe3120a8a87cf3bc8379e53461b2cf05b1e /src/mongo/db/dbmessage.h | |
parent | 99372153dfe9dd9251e49371d872b5f27dfd6f2c (diff) | |
download | mongo-6fc951d492881a32754bc3e38e8b5eca78929197.tar.gz |
SERVER-8510 Get rid of CmdLine struct and use new option handling style
Diffstat (limited to 'src/mongo/db/dbmessage.h')
-rw-r--r-- | src/mongo/db/dbmessage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbmessage.h b/src/mongo/db/dbmessage.h index a265a7eb0d7..88a34a3ecfb 100644 --- a/src/mongo/db/dbmessage.h +++ b/src/mongo/db/dbmessage.h @@ -209,7 +209,7 @@ namespace mongo { "Client Error: Remaining data too small for BSON object", theEnd - nextjsobj >= 5 ); - if ( cmdLine.objcheck ) { + if (serverGlobalParams.objcheck) { Status status = validateBSON( nextjsobj, theEnd - nextjsobj ); massert( 10307, str::stream() << "Client Error: bad object in message: " << status.reason(), |