aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-01 23:45:35 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:51:00 +0200
commit0c8db50b3bd94eaa2c4a78a3243920654d3d6d64 (patch)
tree695b0e5763ed6c3d39744ffac9b5efb9a23c05da
parentbf2f4987f1702cad730aa51720def86efa344992 (diff)
Fix typo in request reponses of a app fw verb
Fix typo in request answers info message send back to application framework after an api verb call. Change-Id: Icbd06fc13d9abff8325145c355b6c8c3c6434e1c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
index be08165..8e62e3a 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
@@ -142,7 +142,7 @@ void HalCtlsActionOnStream(afb_request *request)
HalCtlsHandleMixerCallError(request, apiToCall, verbToCall, returnJ, "stream_action");
}
else if(json_object_object_get_ex(returnJ, "response", &toReturnJ)){
- afb_request_success_f(request, toReturnJ, "Action %s correctly transfered to %s, and successfull",
+ afb_request_success_f(request, toReturnJ, "Action %s correctly transfered to %s without any error raised",
verbToCall,
apiToCall);
}
@@ -183,7 +183,7 @@ void HalCtlsListVerbs(afb_request *request)
}
if(! currentCtlHalData->ctlHalSpecificData->ctlHalStreamsData.count) {
- afb_request_fail(request, "no_data", "Won't be able to respond, no streams ofound");
+ afb_request_fail(request, "no_data", "Won't be able to respond, no streams found");
return;
}