Use afb_token in contexts
[src/app-framework-binder.git] / src / afb-context.c
index 4cc2e55..36adeba 100644 (file)
@@ -107,7 +107,7 @@ void afb_context_disconnect(struct afb_context *context)
 
 const char *afb_context_uuid(struct afb_context *context)
 {
-       return context->session ? afb_session_uuid(context->session) : "";
+       return context->session ? afb_session_uuid(context->session) : NULL;
 }
 
 void *afb_context_make(struct afb_context *context, int replace, void *(*make_value)(void *closure), void (*free_value)(void *item), void *closure)