diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-07-19 18:14:14 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-07-19 18:14:14 +0000 |
commit | 340803b30c154ead29795454416592ff9d0e0df2 (patch) | |
tree | 6d182959599774041aa9761700e4f5b70af3503e /src | |
parent | 2b31a900d67506592aecd9c0d59ad997d7977deb (diff) |
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
Diffstat (limited to 'src')
-rwxr-xr-x | src/daemon/default.pa.in | 2 | ||||
-rw-r--r-- | src/pulse/context.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in index 6beeb90f6..ac10c0ca3 100755 --- a/src/daemon/default.pa.in +++ b/src/daemon/default.pa.in @@ -1,4 +1,4 @@ -#!@PULSEAUDIO_BINARY@ -nF +#!@PA_BINARY@ -nF # # This file is part of PulseAudio. diff --git a/src/pulse/context.c b/src/pulse/context.c index a25e2f78e..f6452d4ed 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); |