diff options
Diffstat (limited to 'src/alsa-api.c')
-rw-r--r-- | src/alsa-api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alsa-api.c b/src/alsa-api.c index 61c79533..23964a68 100644 --- a/src/alsa-api.c +++ b/src/alsa-api.c @@ -27,7 +27,7 @@ STATIC json_object* wrongApi (AFB_request *request, void* handle) { impossible=bug/zero; } -STATIC json_object* pingSample (AFB_request *request, void* handle) { +STATIC json_object* pingSample (AFB_request *request) { static pingcount = 0; json_object *response; char query [512]; @@ -39,7 +39,8 @@ 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} handle=[%s] PostData: \'%s\' ", pingcount++, query, handle, request->post); + response = jsonNewMessage(AFB_SUCCESS, "Ping Binder Daemon %d query={%s} handle=[%s] PostData: \'%s\' " + , pingcount++, query, request->post); if (verbose) fprintf(stderr, "%d: \n", pingcount); return (response); @@ -65,6 +66,5 @@ 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 |