diff options
author | adam <adamansky@gmail.com> | 2012-11-27 00:40:38 +0700 |
---|---|---|
committer | adam <adamansky@gmail.com> | 2012-11-27 00:40:38 +0700 |
commit | 7b278b26fa76a2e713256a82034224756e955464 (patch) | |
tree | a74bdb951f92f7a44fc73c91e268ef58a4beeabf /tcejdb | |
parent | 1d41647cb9ccea36a0bdeedb1d58d889d5a04c4d (diff) | |
download | ejdb-7b278b26fa76a2e713256a82034224756e955464.tar.gz ejdb-7b278b26fa76a2e713256a82034224756e955464.tar.bz2 ejdb-7b278b26fa76a2e713256a82034224756e955464.zip |
minors
Diffstat (limited to 'tcejdb')
-rw-r--r-- | tcejdb/bson.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcejdb/bson.c b/tcejdb/bson.c index dbb431a..fcbc608 100644 --- a/tcejdb/bson.c +++ b/tcejdb/bson.c @@ -1299,7 +1299,7 @@ EJDB_EXPORT int bson_merge2(const void *b1data, const void *b2data, bson_bool_t bson_iterator_from_buffer(&it1, b1data); bson_iterator_from_buffer(&it2, b2data); - //Append all fields in B1 overwrited by B2 + //Append all fields in B1 overwriten by B2 while ((bt1 = bson_iterator_next(&it1)) != BSON_EOO) { const char* k1 = bson_iterator_key(&it1); if (overwrite && (bt2 = bson_find_from_buffer(&it2, b2data, k1)) != BSON_EOO) { |