[pulseaudio-commits] r1108 - in /trunk/src: daemon/default.pa.in pulse/context.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Jul 19 11:14:59 PDT 2006


Author: lennart
Date: Wed Jul 19 20:14:14 2006
New Revision: 1108

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1108&root=pulseaudio&view=rev
Log:
use access group dedclared in ~/.pulse/client.conf instead of PA_ACCESS_GROUP

Modified:
    trunk/src/daemon/default.pa.in
    trunk/src/pulse/context.c

Modified: trunk/src/daemon/default.pa.in
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/daemon/default.pa.in?rev=1108&root=pulseaudio&r1=1107&r2=1108&view=diff
==============================================================================
--- trunk/src/daemon/default.pa.in (original)
+++ trunk/src/daemon/default.pa.in Wed Jul 19 20:14:14 2006
@@ -1,4 +1,4 @@
-#!@PULSEAUDIO_BINARY@ -nF 
+#!@PA_BINARY@ -nF 
 
 #
 # This file is part of PulseAudio.

Modified: trunk/src/pulse/context.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/context.c?rev=1108&root=pulseaudio&r1=1107&r2=1108&view=diff
==============================================================================
--- trunk/src/pulse/context.c (original)
+++ trunk/src/pulse/context.c Wed Jul 19 20:14:14 2006
@@ -430,7 +430,7 @@
     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);




More information about the pulseaudio-commits mailing list