Skip to content

Commit

Permalink
Fix typos in ros::roseus warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Affonso-Gui committed Sep 12, 2022
1 parent a08be70 commit 000e159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roseus/roseus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,12 +643,12 @@ pointer ROSEUS(register context *ctx,int n,pointer *argv)

/*
clear ros::master::g_uri which is defined in ros::master::init in __roseus.
this occurs if user set unix::setenv("ROS_MASTER_URI") between __roseus and
this occurs if user set (unix::putenv "ROS_MASTER_URI") between __roseus and
ROSEUS.
*/
if (!ros::master::g_uri.empty()) {
if ( ros::master::g_uri != getenv("ROS_MASTER_URI") ) {
ROS_WARN("ROS master uri will be changed!!, master uri %s, which is defineed previously is differ from current ROS_MASTE_URI(%s)", ros::master::g_uri.c_str(), getenv("ROS_MASTER_URI"));
ROS_WARN("ROS master uri will be changed!!, master uri %s, which is defined previously is differ from current ROS_MASTER_URI(%s)", ros::master::g_uri.c_str(), getenv("ROS_MASTER_URI"));
ros::master::g_uri.clear();
}
}
Expand Down

0 comments on commit 000e159

Please sign in to comment.