summaryrefslogtreecommitdiffstats
path: root/polyp/module-tunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/module-tunnel.c')
-rw-r--r--polyp/module-tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/module-tunnel.c b/polyp/module-tunnel.c
index 2b36ce27..39aaab57 100644
--- a/polyp/module-tunnel.c
+++ b/polyp/module-tunnel.c
@@ -554,7 +554,7 @@ static int load_key(struct userdata *u, const char*fn) {
if (!fn)
fn = PA_NATIVE_COOKIE_FILE;
- if (pa_authkey_load_from_home(fn, u->auth_cookie, sizeof(u->auth_cookie)) < 0)
+ if (pa_authkey_load_auto(fn, u->auth_cookie, sizeof(u->auth_cookie)) < 0)
return -1;
pa_log(__FILE__": loading cookie from disk.\n");