From e08d57c0e397018f0c463a66adc232f6358caef5 Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Fri, 15 Nov 2019 16:01:27 +0100 Subject: Don't return the uuid uuid is available in cookies and through a call to monitor/session Bug-AGL: SPEC-2968 Change-Id: I72912f3dc7985cca09e77c952e416b608711abbe Signed-off-by: Jose Bollo --- src/afb-context.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/afb-context.c') diff --git a/src/afb-context.c b/src/afb-context.c index 4cdaa6f7..8a1938a1 100644 --- a/src/afb-context.c +++ b/src/afb-context.c @@ -107,15 +107,6 @@ const char *afb_context_uuid(struct afb_context *context) return context->session ? afb_session_uuid(context->session) : ""; } -const char *afb_context_sent_uuid(struct afb_context *context) -{ - if (context->session == NULL || context->closing || context->super) - return NULL; - if (!context->created) - return NULL; - return afb_session_uuid(context->session); -} - void *afb_context_make(struct afb_context *context, int replace, void *(*make_value)(void *closure), void (*free_value)(void *item), void *closure) { assert(context->session != NULL); -- cgit 1.2.3-korg