client: set ucred properties

This commit is contained in:
Wim Taymans 2017-09-04 20:19:27 +02:00
parent 3334ed73ae
commit ebea63ad0a
3 changed files with 19 additions and 6 deletions

View file

@ -1038,11 +1038,6 @@ static struct client *client_new(struct impl *impl, int fd)
if (properties == NULL)
goto no_props;
if (ucredp) {
pw_properties_setf(properties, "application.process.id", "%d", ucredp->pid);
pw_properties_setf(properties, "application.process.userid", "%d", ucredp->uid);
}
client = pw_client_new(impl->core, pw_module_get_global(impl->module),
ucredp, properties, sizeof(struct client));
if (client == NULL)