]> code.delx.au - pulseaudio/blobdiff - src/utils/pax11publish.c
auth: move cookie file to ~/.config/pulse/cookie
[pulseaudio] / src / utils / pax11publish.c
index d3ffc78b661825252425d9dcac2661645f511e37..0f9a030e08c0a6a61658876cb68cff8d27b04f2f 100644 (file)
@@ -195,7 +195,7 @@ int main(int argc, char *argv[]) {
 
             pa_client_conf_free(conf);
 
-            if (pa_authkey_load_auto(cookie_file, cookie, sizeof(cookie)) < 0) {
+            if (pa_authkey_load_auto(cookie_file, cookie, TRUE, sizeof(cookie)) < 0) {
                 fprintf(stderr, _("Failed to load cookie data\n"));
                 goto finish;
             }