aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-07-27 14:40:19 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-07-27 14:46:07 +0200
commit4bbad5bf527c8310c1f076a5cdf512d4385f8b76 (patch)
treeb28ac81b81d6f03cc5201df1afafeb3a7fa69fb4
parent61b54ddf86a2afd583c3d4b082365eff759b8f17 (diff)
afb-export: Set API context as validated
An API is always valid internally to the binder. Change-Id: I3c8eed166c9cfc1bcc47daa30c8f327af777d136 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-export.c b/src/afb-export.c
index 811ecb5e..e9d5d9ad 100644
--- a/src/afb-export.c
+++ b/src/afb-export.c
@@ -1766,5 +1766,6 @@ void afb_export_process_xreq(struct afb_export *export, struct afb_xreq *xreq)
void afb_export_context_init(struct afb_export *export, struct afb_context *context)
{
afb_context_init(context, export->session, NULL);
+ context->validated = 1;
}