X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fsession.c;h=e30688ab3e2e5939b0fe3b55ec3fd5403ca8ac64;hb=e267cc7d7ab546abea72549e425042403dd76bc6;hp=936bb4dff8060a6f48a0c8b8bf86204c611654fd;hpb=2c5dc2d88b8d2434934315fb285f4efade040543;p=src%2Fapp-framework-binder.git diff --git a/src/session.c b/src/session.c index 936bb4df..e30688ab 100644 --- a/src/session.c +++ b/src/session.c @@ -184,11 +184,13 @@ struct AFB_clientCtx *ctxClientGetForUuid (const char *uuid) } /* mimic old behaviour */ +/* +TODO remove? not remove? if (sessions.initok == NULL) return NULL; - +*/ /* 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 */