From: Tanu Kaskinen Date: Thu, 13 Mar 2014 11:04:55 +0000 (+0200) Subject: tunnel: Fix inverted if condition X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/efec98280f54012238062714b2152c2faf22775b?hp=00922f7dc0b6b63325193b58721c2e910b7d4489 tunnel: Fix inverted if condition --- 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