From dee3498a7cbe558fcee2c8182a70723ef281f6fa Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sat, 12 Dec 2015 14:02:38 +0100 Subject: [PATCH] Added --token=xxxxx for initial shared secret --- src/alsa-api.c | 4 ++-- 1 file 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 -- 2.16.6