]> code.delx.au - pulseaudio/blobdiff - polyp/module-tunnel.c
Comment some more files
[pulseaudio] / polyp / module-tunnel.c
index 2b36ce2736382e4c7f60a2f039d901209941ac4b..39aaab5715f7d80c2c25ad22b0013eb2e37285d2 100644 (file)
@@ -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");