[pulseaudio-commits] src/daemon

Tanu Kaskinen tanuk at kemper.freedesktop.org
Sun Jul 14 03:28:07 PDT 2013


 src/daemon/caps.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 999b47c09948edf7b8e7bc6757e0e41c24e824a1
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date:   Sun Jul 14 13:26:24 2013 +0300

    caps: Fix compilation on Windows
    
    Thanks to Pierre Ossman for the patch.

diff --git a/src/daemon/caps.c b/src/daemon/caps.c
index 36b76a9..2251cb3 100644
--- a/src/daemon/caps.c
+++ b/src/daemon/caps.c
@@ -72,10 +72,10 @@ void pa_drop_root(void) {
     pa_assert_se(geteuid() == uid);
     pa_assert_se(getgid() == gid);
     pa_assert_se(getegid() == gid);
-#endif
 
     if (uid != 0)
         pa_drop_caps();
+#endif
 }
 
 void pa_drop_caps(void) {



More information about the pulseaudio-commits mailing list