From efec98280f54012238062714b2152c2faf22775b Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Thu, 13 Mar 2014 13:04:55 +0200 Subject: [PATCH] tunnel: Fix inverted if condition --- src/modules/module-tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c index 1ddfd259..6b3512e2 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 -- 2.39.2