Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
Bindings: Make compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Jan 8, 2018
1 parent a6ca2de commit 69c725c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/structures/oc-payload.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ static std::string js_OCEndpointPayload(napi_env env,
C2J_SET_NUMBER_MEMBER_RETURN(env, *js_item, item, family);
C2J_SET_NUMBER_MEMBER_RETURN(env, *js_item, item, port);
C2J_SET_NUMBER_MEMBER_RETURN(env, *js_item, item, pri);

return std::string();
}

static std::string js_OCResourcePayload(napi_env env,
Expand All @@ -58,7 +60,7 @@ static std::string js_OCResourcePayload(napi_env env,
C2J_SET_NUMBER_MEMBER_RETURN(env, *destination, payload, port);

C2J_SET_LL_PROPERTY(env, *destination, payload, eps, OCEndpointPayload*,
HELPER_CALL_RETURN(env, js_OCEnpointPayload(env, current, &item)));
HELPER_CALL_RETURN(js_OCEndpointPayload(env, current, &item)));
return std::string();
}

Expand Down

0 comments on commit 69c725c

Please sign in to comment.