Change-Id: I5278cf0f73a417c98d2cd4c3572efed39766b2d5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
}
/* mimic old behaviour */
}
/* mimic old behaviour */
+/*
+TODO remove? not remove?
if (sessions.initok == NULL)
return NULL;
if (sessions.initok == NULL)
return NULL;
/* check the uuid if given */
/* check the uuid if given */
- if (uuid != NULL && 1 + strlen(uuid) >= sizeof clientCtx->uuid)
+ if (uuid != NULL && strlen(uuid) >= sizeof clientCtx->uuid)
return NULL;
/* returns a new one */
return NULL;
/* returns a new one */