Skip to content

Commit 991ae7e

Browse files
author
Christian Hergert
committed
cursor: whitespace cleanup.
1 parent a8e94e3 commit 991ae7e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/mongoc/mongoc-cursor.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -766,10 +766,9 @@ _mongoc_cursor_next (mongoc_cursor_t *cursor,
766766
b = bson_reader_read(cursor->reader, &eof);
767767
cursor->end_of_event = eof;
768768

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-
);
769+
cursor->done = (cursor->end_of_event &&
770+
((cursor->in_exhaust && !cursor->rpc.reply.cursor_id) ||
771+
(!b && !(cursor->flags & MONGOC_QUERY_TAILABLE_CURSOR))));
773772

774773
/*
775774
* Do a supplimental check to see if we had a corrupted reply in the

0 commit comments

Comments
 (0)