aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/session
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-03-16 15:47:37 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-03-16 15:47:37 +0100
commit2f5957984835ffc7d4f03bb0094a93c575e3eb17 (patch)
treead686e9afdb661f0f456c422618c0d28a576ea63 /plugins/session
parent2a94a1d9c8b6c9bd4a83b870dee1d3072120cb77 (diff)
Add warning detection and improve
Change-Id: Id4fc86b86d55aac578d84b4d2357c1a2e600c58b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'plugins/session')
-rw-r--r--plugins/session/token-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/session/token-api.c b/plugins/session/token-api.c
index 25d0b993..7073dac0 100644
--- a/plugins/session/token-api.c
+++ b/plugins/session/token-api.c
@@ -79,7 +79,7 @@ STATIC json_object* clientContextReset (AFB_request *request) {
}
// Close and Free context
STATIC json_object* clientGetPing (AFB_request *request) {
- static count=0;
+ static int count=0;
json_object *jresp;
jresp = json_object_new_object();