core: also work without security module

This commit is contained in:
Wim Taymans 2017-04-28 15:35:54 +02:00
parent 308acaf0ad
commit e734d239b9

View file

@ -38,7 +38,7 @@ typedef struct {
} PinosCoreImpl; } PinosCoreImpl;
#define ACCESS_VIEW_GLOBAL(client,global) (client->core->access && \ #define ACCESS_VIEW_GLOBAL(client,global) (client->core->access == NULL || \
client->core->access->view_global (client->core->access, \ client->core->access->view_global (client->core->access, \
client, global) == SPA_RESULT_OK) client, global) == SPA_RESULT_OK)