summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/dbclient.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/dbclient.cpp b/client/dbclient.cpp
index 1da8c5cf1b4..92e78fe835c 100644
--- a/client/dbclient.cpp
+++ b/client/dbclient.cpp
@@ -530,10 +530,8 @@ namespace mongo {
stringstream ss;
bool first = 1;
- for ( BSONObjIterator i(keys); i.more(); ) {
+ for ( BSONObjIterator i(keys); i._more(); ) {
BSONElement f = i.next();
- if ( f.eoo() )
- break;
if ( first )
first = 0;