diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-08 11:02:47 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:52:51 +0200 |
commit | d1a287b7908a5c0319e14da47bc5cd2d9adcdc35 (patch) | |
tree | 4b90bf4fd40bc5814c4986ce416325e2ea26f375 /4a-hal/4a-hal-controllers | |
parent | 198ec9d50046cce8058b4936cb359647125a4cf5 (diff) |
Update request success macro used in code
Update request success macro used in code to correct compilation error.
Change-Id: I0cb9c07b27000935b01aaaa17d5656f05d4e21ff
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-controllers')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c | 2 | ||||
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c index 47cfcc7..a26fe0a 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c @@ -465,5 +465,5 @@ void HalCtlsActionOnAlsaCtl(AFB_ReqT request) json_object_put(convertedJ); - AFB_ReqSucess(request, NULL, "Action on alsa control correclty done"); + AFB_ReqSuccess(request, NULL, "Action on alsa control correclty done"); }
\ No newline at end of file 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 98d2b0c..8360694 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c @@ -447,7 +447,7 @@ void HalCtlsActionOnStream(AFB_ReqT request) HalUtlHandleAppFwCallErrorInRequest(request, apiToCall, verbToCall, returnJ, "stream_action"); } else if(json_object_object_get_ex(returnJ, "response", &toReturnJ)){ - AFB_ReqSucessF(request, + AFB_ReqSuccessF(request, toReturnJ, "Action %s correctly transferred to %s without any error raised", verbToCall, @@ -490,7 +490,7 @@ void HalCtlsListVerbs(AFB_ReqT request) } if(! currentCtlHalData->ctlHalSpecificData->ctlHalStreamsData.count) { - AFB_ReqSucess(request, NULL, "No data to answer, no streams found"); + AFB_ReqSuccess(request, NULL, "No data to answer, no streams found"); return; } @@ -518,5 +518,5 @@ void HalCtlsListVerbs(AFB_ReqT request) wrap_json_pack(&requestAnswer, "{s:o}", "streams", streamsArray); - AFB_ReqSucess(request, requestAnswer, "Requested data"); + AFB_ReqSuccess(request, requestAnswer, "Requested data"); }
\ No newline at end of file |