summaryrefslogtreecommitdiffstats
path: root/src/harvester-binding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/harvester-binding.c')
-rw-r--r--src/harvester-binding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/harvester-binding.c b/src/harvester-binding.c
index c5d0602..679767c 100644
--- a/src/harvester-binding.c
+++ b/src/harvester-binding.c
@@ -41,7 +41,7 @@ static void ctrlapi_ping(AFB_ReqT request) {
count++;
AFB_ReqNotice(request, "Controller:ping count=%d", count);
- AFB_ReqSucess(request, json_object_new_int(count), NULL);
+ AFB_ReqSuccess(request, json_object_new_int(count), NULL);
return;
}
@@ -49,7 +49,7 @@ static void ctrlapi_ping(AFB_ReqT request) {
void ctrlapi_auth(AFB_ReqT request)
{
AFB_ReqSetLOA(request, 1);
- AFB_ReqSucess(request, NULL, NULL);
+ AFB_ReqSuccess(request, NULL, NULL);
}
static AFB_ApiVerbs CtrlApiVerbs[] = {