You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While adding tests for the rcl package I realized the localhost.c function rcl_get_localhost_only uses this logic to return the possible value of the localhost_only variable:
Blast545
changed the title
localhost.c function not returning all possible values
rcl_get_localhost_only function not returning all possible values
Jun 2, 2020
After checking the expected usage of this function, it is expected that the result of this function to be a boolean value because the result coming from this is then fed to rmw_create_node() that takes localhost_only value as a boolean.
I think the solution to this would be changing the rcl_get_localhost_only signature to return boolean instead.
Blast545
changed the title
rcl_get_localhost_only function not returning all possible values
rcl_get_localhost_only function not returning a rmw_localhost_only_t value
Jun 2, 2020
While adding tests for the
rcl
package I realized thelocalhost.c
functionrcl_get_localhost_only
uses this logic to return the possible value of the localhost_only variable:rcl/rcl/src/rcl/localhost.c
Line 44 in e47042c
Which only returns
0
or1
, but the current possible values for this variable are0-1-2
, as implemented in rmw/localhost.h:The text was updated successfully, but these errors were encountered: