Skip to content

Commit

Permalink
Correct missing const modifier on msg param (fix ros-industrial#15).
Browse files Browse the repository at this point in the history
  • Loading branch information
gavanderhoorn authored and shaun-edwards committed Jul 24, 2013
1 parent 696f485 commit bd525cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class SimpleSocket : public industrial::smpl_msg_connection::SmplMsgConnection
this->connected_ = connected;
}

void logSocketError(char* msg, int rc)
void logSocketError(const char* msg, int rc)
{
LOG_ERROR("%s, rc: %d, errno: %d", msg, rc, errno);
}
Expand Down

0 comments on commit bd525cb

Please sign in to comment.