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

typo fix. #355

Merged
merged 1 commit into from
May 16, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion rmw/include/rmw/qos_profiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ typedef enum RMW_PUBLIC_TYPE rmw_qos_compatibility_type_e
* \param[in] reason_size: Size of the string buffer `reason`, if one is provided.
* If `reason` is `nullptr`, then this parameter must be zero.
* \return `RMW_RET_OK` if the check was successful, or
* \return `RMW_RET_INVALID_ARGUMENT` if `compatiblity` is `nullptr`, or
* \return `RMW_RET_INVALID_ARGUMENT` if `compatibility` is `nullptr`, or
* \return `RMW_RET_INVALID_ARGUMENT` if `reason` is `NULL` and `reason_size` is not zero, or
* \return `RMW_RET_ERROR` if there is an unexpected error.
*/
Expand Down
2 changes: 1 addition & 1 deletion rmw/include/rmw/rmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ rmw_destroy_publisher(rmw_node_t * node, rmw_publisher_t * publisher);
* \return `RMW_RET_INCORRECT_RMW_IMPLEMENTATION` if `publisher` implementation identifier
* does not match this implementation, or
* \return `RMW_RET_UNSUPPORTED` if the implementation does not support ROS message loaning, or
* \return `RMW_RET_ERROR` if an unexpected error occured.
* \return `RMW_RET_ERROR` if an unexpected error occurred.
*/
RMW_PUBLIC
RMW_WARN_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion rmw/src/discovery_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ rmw_discovery_options_init(
RCUTILS_CHECK_ALLOCATOR(allocator, return RMW_RET_INVALID_ARGUMENT);

if (0 != discovery_options->static_peers_count || NULL != discovery_options->static_peers) {
RMW_SET_ERROR_MSG("discovery_options must be zero intialized");
RMW_SET_ERROR_MSG("discovery_options must be zero initialized");
return RMW_RET_INVALID_ARGUMENT;
}

Expand Down