Skip to content

Commit

Permalink
Update rmw_zenoh_cpp/src/rmw_zenoh.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Lalancette <[email protected]>
Signed-off-by: Yadu <[email protected]>
  • Loading branch information
Yadunund and clalancette authored Jun 24, 2024
1 parent 5796e74 commit 3854660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/rmw_zenoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ std::string strip_slashes(const char * const str)
if (str[end] == '/') {
--end;
}
return ret.substr(start, end - start);
return ret.substr(start, end - start + 1);
}

//==============================================================================
Expand Down

0 comments on commit 3854660

Please sign in to comment.