aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vscode/settings.json3
m---------app-controller-submodule0
-rw-r--r--src/harvester-binding.c4
-rw-r--r--src/plugins/influxdb-writer.c2
4 files changed, 5 insertions, 4 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 9dedb11..c3827a8 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -23,7 +23,8 @@
"tsdb.h": "c",
"ctl-plugin.h": "c",
"escape.h": "c",
- "ostream": "c"
+ "ostream": "c",
+ "harvester-binding.h": "c"
},
"C_Cpp.intelliSenseEngineFallback": "Disabled",
"C_Cpp.errorSquiggles": "Disabled",
diff --git a/app-controller-submodule b/app-controller-submodule
-Subproject 4a723022410de1a72b03a4901537af4e0d27397
+Subproject c04f0292f9dd0ef4cc26179ace0c733f9af4d16
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);