diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-15 23:59:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-15 23:59:33 +0200 |
commit | 87ae8307057944662bb8a4b638f56fa980eef48a (patch) | |
tree | 06da8c75979700e9941c301b2c6b4bd6bcd126f5 /src/utils | |
parent | 9ab510a69216b468c80acad92a0e2360ffccfea2 (diff) |
auth: move cookie file to ~/.config/pulse/cookie
In order to follow XDG basedir, read the cookie file from
~/.config/pulse/cookie if possible, but fall back to the old file.
if it doesn't exist.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/pax11publish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/pax11publish.c b/src/utils/pax11publish.c index d3ffc78b6..0f9a030e0 100644 --- a/src/utils/pax11publish.c +++ b/src/utils/pax11publish.c @@ -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; } |