summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
index 81f2c10..aaed4cc 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
@@ -140,7 +140,7 @@ void HalMgrLoad(afb_req_t request)
struct HalMgrData *HalMgrGlobalData;
struct SpecificHalData *addedHal;
- json_object *requestJson, *apiReceviedMetadata;
+ json_object *requestJson, *apiReceivedMetadata;
if(! (apiHandle = afb_req_get_api(request))) {
afb_req_fail(request, "api_handle", "Can't get hal manager api handle");
@@ -157,12 +157,12 @@ void HalMgrLoad(afb_req_t request)
return;
}
- if(! json_object_object_get_ex(requestJson, "metadata", &apiReceviedMetadata)) {
+ if(! json_object_object_get_ex(requestJson, "metadata", &apiReceivedMetadata)) {
afb_req_fail(request, "api_metadata", "Can't get json metadata section to register external hal");
return;
}
- if(wrap_json_unpack(apiReceviedMetadata,
+ if(wrap_json_unpack(apiReceivedMetadata,
"{s:s s:s s?:s s?:s s?:s s?:s s?:i}",
"api", &apiName,
"uid", &sndCardPath,