[pulseaudio-commits] src/modules

Tanu Kaskinen tanuk at kemper.freedesktop.org
Thu Mar 13 04:06:18 PDT 2014


 src/modules/module-tunnel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit efec98280f54012238062714b2152c2faf22775b
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date:   Thu Mar 13 13:04:55 2014 +0200

    tunnel: Fix inverted if condition

diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index 1ddfd25..6b3512e 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -1997,7 +1997,7 @@ int pa__init(pa_module*m) {
 #endif
 
         /* Figure out the cookie the same way a normal client would */
-        if (cookie_path)
+        if (!cookie_path)
             cookie_path = getenv(ENV_COOKIE_FILE);
 
 #ifdef HAVE_X11



More information about the pulseaudio-commits mailing list