Skip to content

Commit f06161d

Browse files
author
Christian Hergert
committed
cursor: parenthesis on flag checking.
1 parent d4b2906 commit f06161d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-cursor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ _mongoc_cursor_query (mongoc_cursor_t *cursor)
523523
cursor->reader = bson_reader_new_from_data(cursor->rpc.reply.documents,
524524
cursor->rpc.reply.documents_len);
525525

526-
if (cursor->flags & MONGOC_QUERY_EXHAUST) {
526+
if ((cursor->flags & MONGOC_QUERY_EXHAUST)) {
527527
cursor->in_exhaust = true;
528528
cursor->client->in_exhaust = true;
529529
}

0 commit comments

Comments
 (0)