diff options
author | Andy Schwerin <schwerin@10gen.com> | 2013-01-16 13:35:15 -0500 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2013-01-18 10:40:24 -0500 |
commit | e51b22e4ea37cf6a767561e27f8e316e5d5afd11 (patch) | |
tree | e8aced7b9171656a4e3db733e4792871d5a86c2e /src/mongo/bson/bson_validate.h | |
parent | 664bdf3f3fd2c2388cea389c51632baa04a0ef9e (diff) | |
download | mongo-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.h | 3 |
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 ); } |