From 340803b30c154ead29795454416592ff9d0e0df2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 19 Jul 2006 18:14:14 +0000 Subject: use access group dedclared in ~/.pulse/client.conf instead of PA_ACCESS_GROUP git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1108 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulse/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulse') diff --git a/src/pulse/context.c b/src/pulse/context.c index a25e2f78..f6452d4e 100644 --- a/src/pulse/context.c +++ b/src/pulse/context.c @@ -430,7 +430,7 @@ static void setup_context(pa_context *c, pa_iochannel *io) { ucred.pid = getpid(); ucred.uid = getuid(); - if ((ucred.gid = pa_get_gid_of_group(PA_ACCESS_GROUP)) == (gid_t) -1) + if ((ucred.gid = pa_get_gid_of_group(c->conf->access_group)) == (gid_t) -1) ucred.gid = getgid(); pa_pstream_send_tagstruct_with_creds(c->pstream, t, &ucred); -- cgit