aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-12 14:02:38 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-12 14:02:38 +0100
commitdee3498a7cbe558fcee2c8182a70723ef281f6fa (patch)
tree81cd838f1be8246e8274f1e6d38c488bc52eba84
parent37c1f71d519420addb71c6137e551ecb51336f7c (diff)
Added --token=xxxxx for initial shared secret
-rw-r--r--src/alsa-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alsa-api.c b/src/alsa-api.c
index 70311462..61c79533 100644
--- a/src/alsa-api.c
+++ b/src/alsa-api.c
@@ -39,7 +39,7 @@ STATIC json_object* pingSample (AFB_request *request, void* handle) {
if (request->post == NULL) request->post="NoData";
// return response to caller
- response = jsonNewMessage(AFB_SUCCESS, "Ping Binder Daemon %d query={%s} PostData: \'%s\' ", pingcount++, query, request->post);
+ response = jsonNewMessage(AFB_SUCCESS, "Ping Binder Daemon %d query={%s} handle=[%s] PostData: \'%s\' ", pingcount++, query, handle, request->post);
if (verbose) fprintf(stderr, "%d: \n", pingcount);
return (response);
@@ -65,6 +65,6 @@ PUBLIC AFB_plugin *alsaRegister () {
plugin->info = "Application Framework Binder Service";
plugin->prefix= "alsa";
plugin->apis = pluginApis;
-
+ plugin->handle= "bla bla bla";
return (plugin);
}; \ No newline at end of file