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 all 'z_encoding(Z_ENCODING_PREFIX_EMPTY, NULL)' as default is EMPTY encoding #178

Merged
merged 1 commit into from
May 23, 2024

Conversation

JEnoch
Copy link
Contributor

@JEnoch JEnoch commented May 23, 2024

By default in all options zenoh-c set the encoding to the EMPTY encoding.
Thus the calls setting encoding to z_encoding(Z_ENCODING_PREFIX_EMPTY, NULL); are useless and can be removed.

Moreover this fixes #177 which is caused by an issue passing NULL to z_encoding() (eclipse-zenoh/zenoh-c#370).

@Yadunund
Copy link
Member

@hwoithe can you confirm if these changes fixes the issue you encounter?

@hwoithe
Copy link

hwoithe commented May 23, 2024

This does fix the issue for me. Thank you!

@Yadunund Yadunund merged commit 93ba28e into ros2:rolling May 23, 2024
6 checks passed
@JEnoch JEnoch deleted the fix_177 branch December 23, 2024 10:51
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.

Cannot make service calls with debug build
3 participants