Skip to content

Commit

Permalink
comply to master
Browse files Browse the repository at this point in the history
  • Loading branch information
Karsten1987 committed May 1, 2018
1 parent 52fe00c commit d112f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcl/src/rcl/publisher.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ rcl_publish(const rcl_publisher_t * publisher, const void * ros_message)
rcl_ret_t
rcl_publish_raw(const rcl_publisher_t * publisher, const rcl_message_raw_t * raw_message)
{
if (!rcl_publisher_is_valid(publisher)) {
if (!rcl_publisher_is_valid(publisher, NULL)) {
return RCL_RET_PUBLISHER_INVALID;
}
if (rmw_publish_raw(publisher->impl->rmw_handle, raw_message) != RMW_RET_OK) {
Expand Down

0 comments on commit d112f95

Please sign in to comment.