summaryrefslogtreecommitdiff
path: root/src/modules/module-flatpak.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/module-flatpak.c')
-rw-r--r--src/modules/module-flatpak.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/module-flatpak.c b/src/modules/module-flatpak.c
index cf428d495..9375a9b93 100644
--- a/src/modules/module-flatpak.c
+++ b/src/modules/module-flatpak.c
@@ -510,7 +510,6 @@ static pa_hook_result_t client_put_cb(pa_core *c, pa_object *o, struct userdata
pa_client *cl;
uint32_t policy;
-pa_log("client put\n");
pa_assert(c);
pa_object_assert_ref(o);
@@ -523,6 +522,8 @@ pa_log("client put\n");
client_data_new(u, cl->index, policy, cl->creds.pid);
+ pa_log("client put: policy %d, pid %u\n", policy, cl->creds.pid);
+
return PA_HOOK_OK;
}
@@ -543,6 +544,9 @@ static pa_hook_result_t client_auth_cb(pa_core *c, pa_object *o, struct userdata
policy = find_policy_for_client(u, cl);
cd->policy = policy;
+ cd->pid = cl->creds.pid;
+
+ pa_log("auth cb: policy %d, pid %u\n", cd->policy, cd->pid);
return PA_HOOK_OK;
}