Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
work in progress, session handling
[src/app-framework-binder.git]
/
plugins
/
session
/
token-api.c
diff --git
a/plugins/session/token-api.c
b/plugins/session/token-api.c
index
65c18d2
..
04945a8
100644
(file)
--- 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
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();
// Send response to UI
jresp = json_object_new_object();
@@
-118,7
+118,7
@@
static const struct AFB_plugin plugin_desc = {
.freeCtxCB = clientContextFree
};
.freeCtxCB = clientContextFree
};
-const struct AFB_plugin *pluginRegister ()
+const struct AFB_plugin *pluginRegister (
const struct AFB_interface *itf
)
{
return &plugin_desc;
}
{
return &plugin_desc;
}