Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove typos in constants and comments #256

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

jean-roland
Copy link
Contributor

Going through the repo, I noticed some typos in both comments and constants and decided to fix them.

* Z_LINK_CAPABILITY_STREAMED: Bitmask to define and check if link is streamed.
* Z_LINK_CAPABILITY_MULTICAST: Bitmask to define and check if link is multicast.
*/
typedef enum {
Z_LINK_CAPABILITY_NONE = 0x00, // 0
Z_LINK_CAPABILITY_RELIEABLE = 0x01, // 1 << 0
Z_LINK_CAPABILITY_RELIABLE = 0x01, // 1 << 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mallets considering out-of-tree transports, isn't that technically a breaking change?

If so, we could #define Z_LINK_CAPABILITY_RELIEABLE Z_LINK_CAPABILITY_RELIABLE just to keep from a typo-related API break :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any out-of-tree transports that we are aware of?
If not, I would accept this change.
If so, I would suggest that they contribute it back.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All Zenoh-Pico transports we are aware of are part of the zenoh-pico repository. So I'm ok with fixing the typo as suggested by the PR.

Copy link
Member

@cguimaraes cguimaraes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jean-roland jean-roland closed this Oct 4, 2023
@jean-roland jean-roland reopened this Oct 4, 2023
@Mallets Mallets merged commit 1a67d06 into eclipse-zenoh:master Oct 4, 2023
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants