We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e94e3 commit 991ae7eCopy full SHA for 991ae7e
src/mongoc/mongoc-cursor.c
@@ -766,10 +766,9 @@ _mongoc_cursor_next (mongoc_cursor_t *cursor,
766
b = bson_reader_read(cursor->reader, &eof);
767
cursor->end_of_event = eof;
768
769
- cursor->done = cursor->end_of_event && (
770
- (cursor->in_exhaust && !cursor->rpc.reply.cursor_id) ||
771
- (!b && !(cursor->flags & MONGOC_QUERY_TAILABLE_CURSOR))
772
- );
+ cursor->done = (cursor->end_of_event &&
+ ((cursor->in_exhaust && !cursor->rpc.reply.cursor_id) ||
+ (!b && !(cursor->flags & MONGOC_QUERY_TAILABLE_CURSOR))));
773
774
/*
775
* Do a supplimental check to see if we had a corrupted reply in the
0 commit comments