mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
authkey: Use the config home dir for relative paths
Previously relative cookie paths were searched from the home directory, now they are searched from the config home directory. This fixes the problem that XDG_CONFIG_HOME didn't have effect on cookie paths. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=75006
This commit is contained in:
parent
440f37af00
commit
59a8618dcd
2 changed files with 15 additions and 26 deletions
|
|
@ -180,7 +180,7 @@ enum {
|
|||
};
|
||||
|
||||
#define PA_NATIVE_COOKIE_LENGTH 256
|
||||
#define PA_NATIVE_COOKIE_FILE ".config/pulse/cookie"
|
||||
#define PA_NATIVE_COOKIE_FILE "cookie"
|
||||
#define PA_NATIVE_COOKIE_FILE_FALLBACK ".pulse-cookie"
|
||||
|
||||
#define PA_NATIVE_DEFAULT_PORT 4713
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue