[CDRIVER-1541] mongoc_server_description_host should return const pointer Created: 13/Sep/16  Updated: 16/Oct/23

Status: Backlog
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.4.0
Fix Version/s: 2.0.0

Type: Improvement Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-1517 mongoc_server_description_type should... Closed
Epic Link: CDRIVER-4742
Backwards Compatibility: Major Change

 Description   

Releasing a function with this signature was a mistake:

mongoc_host_list_t *
mongoc_server_description_host (const mongoc_server_description_t *description)

The host list should be const.


Generated at Wed Feb 07 21:12:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.