From eb183145df229b8b29b8d1a55d1bff3930cbbb18 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 26 May 2008 16:21:35 +0000 Subject: 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 --- src/ui/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/version.h') 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 -- cgit v1.2.3-13-gbd6f