diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-05-26 16:21:35 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-05-26 16:21:35 +0000 |
| commit | eb183145df229b8b29b8d1a55d1bff3930cbbb18 (patch) | |
| tree | e201ccd4dfa87026df76a48a99da7aba706f607e /src/ui/version.h | |
| parent | f7638aee95aa0289ca657df9c809cbb406f6db8a (diff) | |
| download | qmmp-eb183145df229b8b29b8d1a55d1bff3930cbbb18.tar.gz qmmp-eb183145df229b8b29b8d1a55d1bff3930cbbb18.tar.bz2 qmmp-eb183145df229b8b29b8d1a55d1bff3930cbbb18.zip | |
added username to the socket name (thanks to Karel Volny)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@386 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/version.h')
| -rw-r--r-- | src/ui/version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/version.h b/src/ui/version.h index 8bd09040b..6eaa365d2 100644 --- a/src/ui/version.h +++ b/src/ui/version.h @@ -10,6 +10,6 @@ #endif #define LISTEN_PORT_BASE 33000 -#define UDS_PATH "/tmp/qmmp.sock" +#define UDS_PATH strcat(strdup("/tmp/qmmp.sock."), cuserid(0)) #endif |
