session: fix bug
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 25 Mar 2016 09:54:15 +0000 (10:54 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 25 Mar 2016 09:54:15 +0000 (10:54 +0100)
Change-Id: I2b66d5156e1ca0d461a99e5b556b7da7c84ceea9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/session.c

index 85eb91d..131d80c 100644 (file)
@@ -39,8 +39,8 @@ static struct {
   int max;
 } sessions;
 
-static const char key_uuid = "uuid";
-static const char key_token = "token";
+static const char key_uuid[] = "uuid";
+static const char key_token[] = "token";
 
 // Free context [XXXX Should be protected again memory abort XXXX]
 static void ctxUuidFreeCB (AFB_clientCtx *client)