summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bson_validate.h
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2013-01-16 13:35:15 -0500
committerAndy Schwerin <schwerin@10gen.com>2013-01-18 10:40:24 -0500
commite51b22e4ea37cf6a767561e27f8e316e5d5afd11 (patch)
treee8aced7b9171656a4e3db733e4792871d5a86c2e /src/mongo/bson/bson_validate.h
parent664bdf3f3fd2c2388cea389c51632baa04a0ef9e (diff)
downloadmongo-e51b22e4ea37cf6a767561e27f8e316e5d5afd11.tar.gz
SERVER-8183 Iterative implementation of validateBSON().
Diffstat (limited to 'src/mongo/bson/bson_validate.h')
-rw-r--r--src/mongo/bson/bson_validate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/bson/bson_validate.h b/src/mongo/bson/bson_validate.h
index db9ddcfa7b4..fb1995d2bd2 100644
--- a/src/mongo/bson/bson_validate.h
+++ b/src/mongo/bson/bson_validate.h
@@ -28,9 +28,8 @@ namespace mongo {
* @param buf - bson data
* @param maxLength - maxLength of buffer
* this is NOT the bson size, but how far we know the buffer is valid
- * @param bsonLength - OUT size of bson, set if bsonLength != NULL _and_ data is valid
*/
- Status validateBSON( const char* buf, uint64_t maxLength, int* bsonLength = NULL );
+ Status validateBSON( const char* buf, uint64_t maxLength );
}