Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to one participant per context
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <[email protected]>
ivanpauno committed Oct 10, 2019
1 parent 4eeaecf commit 3b2e794
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rcl/src/rcl/init_options_impl.h
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@

#include "rcl/init_options.h"

#include "rmw/init.h"
#include "rmw/init_options.h"

#ifdef __cplusplus
extern "C"
6 changes: 3 additions & 3 deletions rcl/src/rcl/node.c
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ extern "C"
#include "rcutils/snprintf.h"
#include "rcutils/strdup.h"
#include "rmw/error_handling.h"
#include "rmw/node_security_options.h"
#include "rmw/security_options.h"
#include "rmw/rmw.h"
#include "rmw/validate_namespace.h"
#include "rmw/validate_node_name.h"
@@ -298,8 +298,8 @@ rcl_node_init(
goto fail;
}

rmw_node_security_options_t node_security_options =
rmw_get_zero_initialized_node_security_options();
rmw_security_options_t node_security_options =
rmw_get_zero_initialized_security_options();
node_security_options.enforce_security = (0 == strcmp(ros_enforce_security, "Enforce")) ?
RMW_SECURITY_ENFORCEMENT_ENFORCE : RMW_SECURITY_ENFORCEMENT_PERMISSIVE;

0 comments on commit 3b2e794

Please sign in to comment.