eclipse-cyclonedds / cyclonedds

Eclipse Cyclone DDS project
https://projects.eclipse.org/projects/iot.cyclonedds
Other
854 stars 352 forks source link

Fix bug in dds_request_loan_of_size #2014

Closed reicheratwork closed 4 months ago

reicheratwork commented 4 months ago

The return code in case of dds_entity_pin failing would be "false", which is not a valid dds_return_t, also this equates to 0, which is DDS_RETCODE_OK, which is exactly NOT what it should return here