Skip to content

Commit

Permalink
initialize sequence number of client
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
  • Loading branch information
dirk-thomas committed Mar 7, 2019
1 parent 85a4672 commit 9fcd799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rcl/src/rcl/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ rcl_client_init(
}
// options
client->impl->options = *options;
atomic_init(&client->impl->sequence_number, 0);
RCUTILS_LOG_DEBUG_NAMED(ROS_PACKAGE_NAME, "Client initialized");
ret = RCL_RET_OK;
goto cleanup;
Expand Down

0 comments on commit 9fcd799

Please sign in to comment.