modules: switch more modules to the new property helpers

This commit is contained in:
Peter Hutterer 2021-10-12 14:57:47 +10:00 committed by Wim Taymans
parent c59ede837d
commit 32fb369b66
8 changed files with 18 additions and 34 deletions

View file

@ -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) {