diff options
Diffstat (limited to 'plugins/session')
-rw-r--r-- | plugins/session/token-api.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |