diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/harvester-binding.c | 4 | ||||
-rw-r--r-- | src/plugins/influxdb-writer.c | 2 |
2 files changed, 3 insertions, 3 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[] = { diff --git a/src/plugins/influxdb-writer.c b/src/plugins/influxdb-writer.c index c1f8abd..dd0da97 100644 --- a/src/plugins/influxdb-writer.c +++ b/src/plugins/influxdb-writer.c @@ -28,7 +28,7 @@ void influxdb_write_curl_cb(void* closure, int status, CURL* curl, const char* r switch (rep_code) { case 204: AFB_ReqDebug(request, "Request correctly written"); - AFB_ReqSucess(request, NULL, "Request has been successfully written"); + AFB_ReqSuccess(request, NULL, "Request has been successfully written"); break; case 400: AFB_ReqFail(request, "Bad request", result); |