Skip to content

Commit 7646eb8

Browse files
committed
Fix comments
1 parent 2ed44e2 commit 7646eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcl_action_goal_bindings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Napi::Value ActionAcceptNewGoal(const Napi::CallbackInfo& info) {
3939
reinterpret_cast<rcl_action_goal_handle_t*>(
4040
malloc(sizeof(rcl_action_goal_handle_t)));
4141

42-
*goal_handle = *rcl_action_accept_new_goal(action_server, buffer);
42+
goal_handle = rcl_action_accept_new_goal(action_server, buffer);
4343
if (!goal_handle) {
4444
Napi::Error::New(env, rcl_get_error_string().str)
4545
.ThrowAsJavaScriptException();

0 commit comments

Comments
 (0)