X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Frest-api.c;fp=src%2Frest-api.c;h=c85fbea158267c7ab3793a5566cdaf5b64244d4f;hb=ba3c77af3bdbc96e09aa27a6b3778162644eb3b1;hp=0751ede8a8ffc917437560e98b3918770313573b;hpb=3da6e9fad4c6788098cf425369fb3d7860cb824f;p=src%2Fapp-framework-binder.git diff --git a/src/rest-api.c b/src/rest-api.c index 0751ede8..c85fbea1 100644 --- a/src/rest-api.c +++ b/src/rest-api.c @@ -132,7 +132,7 @@ STATIC AFB_error callPluginApi(AFB_request *request, int plugidx, void *context) switch(plugin->apis[idx].session) { - case AFB_SESSION_CREATE: + case AFB_SESSION_CREATE: if (clientCtx->token[0] != '\0' && request->config->token[0] != '\0') { request->errcode=MHD_HTTP_UNAUTHORIZED; json_object_object_add(jcall, "status", json_object_new_string ("exist"));