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
http-svc: fix bug
[src/app-framework-binder.git]
/
plugins
/
samples
/
ClientCtx.c
diff --git
a/plugins/samples/ClientCtx.c
b/plugins/samples/ClientCtx.c
index
b4ac0e1
..
b2479f5
100644
(file)
--- a/
plugins/samples/ClientCtx.c
+++ b/
plugins/samples/ClientCtx.c
@@
-110,7
+110,7
@@
STATIC json_object* myClose (AFB_request *request) {
}
STATIC void freeCtxCB (MyClientContextT *ctx, MyPluginHandleT *handle, char *uuid) {
}
STATIC void freeCtxCB (MyClientContextT *ctx, MyPluginHandleT *handle, char *uuid) {
- fprintf (stderr, "FreeCtxCB uuid=[%s] Plugin=[%s] count=[%d]", uuid, handle->anythingYouWant, ctx->count);
+ fprintf (stderr, "FreeCtxCB uuid=[%s] Plugin=[%s] count=[%d]", uuid,
(char*)
handle->anythingYouWant, ctx->count);
free (ctx);
// Note: handle should be free it is a static resource attached to plugin and not to session
free (ctx);
// Note: handle should be free it is a static resource attached to plugin and not to session