summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/common.h b/common/common.h
index f4a93fb..afc8d46 100644
--- a/common/common.h
+++ b/common/common.h
@@ -41,7 +41,7 @@ static const char * getPidFileName()
if(user)
{
- char *tmp=getenv("KDETMP");
+ char *tmp=getenv("TDETMP");
if(!tmp || !tmp[0])
tmp=getenv("TMPDIR");
@@ -82,7 +82,7 @@ static const char * getSockName()
if(user)
{
- char *tmp=getenv("KDETMP");
+ char *tmp=getenv("TDETMP");
if(!tmp || !tmp[0])
tmp=getenv("TMPDIR");