Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libmongoc/examples/client-side-encryption-helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ hex_to_bin (const char *hex, uint32_t *len)

size_t num_bytes = hex_len / 2u;
if (num_bytes >= UINT32_MAX) {
return false;
return NULL;
}

*len = (uint32_t) (hex_len / 2u);
Expand Down
2 changes: 1 addition & 1 deletion src/libmongoc/tests/test-mongoc-topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,7 @@ initiator_fail (const mongoc_uri_t *uri, const mongoc_host_list_t *host, void *u
bson_set_error (error, MONGOC_ERROR_STREAM, MONGOC_ERROR_STREAM_CONNECT, "failing in initiator");
printf ("failing in initiator\n");

return false;
return NULL;
}

// Test failure in `mongoc_topology_scanner_node_setup` during retry of scanning
Expand Down