Skip to content

Commit 408cc26

Browse files
author
Christian Hergert
committed
cursor: add missing tracing macros.
1 parent f06161d commit 408cc26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mongoc/mongoc-cursor.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,14 +425,14 @@ _mongoc_cursor_unwrap_failure (mongoc_cursor_t *cursor)
425425
if (_mongoc_rpc_reply_get_first(&cursor->rpc.reply, &b)) {
426426
if ( bson_iter_init_find(&iter, &b, "ok") &&
427427
bson_iter_as_bool(&iter)) {
428-
return false;
428+
RETURN (false);
429429
} else {
430430
_mongoc_cursor_populate_error(cursor, &b, &cursor->error);
431431
bson_destroy(&b);
432-
return true;
432+
RETURN (true);
433433
}
434434
} else {
435-
return true;
435+
RETURN (true);
436436
}
437437
}
438438

0 commit comments

Comments
 (0)