summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--common/common.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 46ae342..0efaec9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -127,7 +127,7 @@ module.
0.6
-----
-1. Check for existance $KDETMP, or $TMPDIR when creating socket.
+1. Check for existance $TDETMP, or $TMPDIR when creating socket.
2. Use UTF-8 when talking to KDED module.
0.5.1
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");