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 f06161d commit 408cc26Copy full SHA for 408cc26
src/mongoc/mongoc-cursor.c
@@ -425,14 +425,14 @@ _mongoc_cursor_unwrap_failure (mongoc_cursor_t *cursor)
425
if (_mongoc_rpc_reply_get_first(&cursor->rpc.reply, &b)) {
426
if ( bson_iter_init_find(&iter, &b, "ok") &&
427
bson_iter_as_bool(&iter)) {
428
- return false;
+ RETURN (false);
429
} else {
430
_mongoc_cursor_populate_error(cursor, &b, &cursor->error);
431
bson_destroy(&b);
432
- return true;
+ RETURN (true);
433
}
434
435
436
437
438
0 commit comments