mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
modules: switch more modules to the new property helpers
This commit is contained in:
parent
c59ede837d
commit
32fb369b66
8 changed files with 18 additions and 34 deletions
|
|
@ -246,8 +246,7 @@ context_check_access(void *data, struct pw_impl_client *client)
|
|||
pw_log_info("client %p: has already access: '%s'", client, str);
|
||||
return;
|
||||
}
|
||||
if ((str = pw_properties_get(props, PW_KEY_SEC_PID)) != NULL)
|
||||
pid = atoi(str);
|
||||
pw_properties_fetch_int32(props, PW_KEY_SEC_PID, &pid);
|
||||
}
|
||||
|
||||
if (pid < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue