summaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-29 16:11:49 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-29 16:11:49 +0200
commit3dbe2d3eeeec9c1d3cf82f41378b306499b9d41b (patch)
tree910c8760fd36ce0844545c50d6bb4408d01cfb85 /src/afb-hreq.c
parentdb01090e1f869965c07b12d9480fa6f3d2e7b1b0 (diff)
Relax authorisation checlk for self
Change-Id: I115bbebb2f51be92578d1cc6b2fb5ae89813b630 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hreq.c')
-rw-r--r--src/afb-hreq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/afb-hreq.c b/src/afb-hreq.c
index 62b322c3..b87251be 100644
--- a/src/afb-hreq.c
+++ b/src/afb-hreq.c
@@ -982,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;