From 11d36a9f7e16aa9992835f8ce06f0e1e5297b131 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Mon, 4 Apr 2016 17:48:50 +0200 Subject: work in progress, session handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0393346280825e24a34e8db386160d857723b841 Signed-off-by: José Bollo --- plugins/session/token-api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/session') diff --git a/plugins/session/token-api.c b/plugins/session/token-api.c index 65c18d26..04945a80 100644 --- a/plugins/session/token-api.c +++ b/plugins/session/token-api.c @@ -36,7 +36,7 @@ static void clientContextCreate (struct afb_req request) json_object *jresp; // add an application specific client context to session - *request.context = malloc (sizeof (MyClientApplicationHandle)); + request.context = malloc (sizeof (MyClientApplicationHandle)); // Send response to UI jresp = json_object_new_object(); @@ -118,7 +118,7 @@ static const struct AFB_plugin plugin_desc = { .freeCtxCB = clientContextFree }; -const struct AFB_plugin *pluginRegister () +const struct AFB_plugin *pluginRegister (const struct AFB_interface *itf) { return &plugin_desc; } -- cgit 1.2.3-korg