X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.c;h=9c6309123fd891d33f38b64e0b7bff69ae49d685;hb=197626868aaf84e9a68e8e7e5397ef1c6883a0f1;hp=389a67e2ebd48d94c8d1caf2f2f397fe4463b1dc;hpb=157c652b4bb8eba5692bed2a4bc75650f7ae7622;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.c b/src/afb-hreq.c index 389a67e2..9c630912 100644 --- a/src/afb-hreq.c +++ b/src/afb-hreq.c @@ -33,11 +33,10 @@ #endif #include "afb-method.h" -#include +#include #include "afb-msg-json.h" #include "afb-context.h" #include "afb-hreq.h" -#include "afb-subcall.h" #include "afb-session.h" #include "afb-cred.h" #include "verbose.h" @@ -983,7 +982,6 @@ struct afb_hreq *afb_hreq_create() if (hreq) { /* init the request */ afb_xreq_init(&hreq->xreq, &afb_hreq_xreq_query_itf); - hreq->xreq.cred = afb_cred_current(); hreq->reqid = ++global_reqids; } return hreq;