summaryrefslogtreecommitdiffstats
path: root/tdecore/network
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:33:18 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:33:18 -0600
commit691a81483430c4b7b4433d45381e8d32b6d56909 (patch)
tree7a5fffa1e5567e01064da713ed5d6ec5ff228a9d /tdecore/network
parent116a6f5778c33b337c2f4cd04d9216c41d4ef8d5 (diff)
downloadtdelibs-691a81483430c4b7b4433d45381e8d32b6d56909.tar.gz
tdelibs-691a81483430c4b7b4433d45381e8d32b6d56909.zip
Rename straggling environment variables KDE->TDE.
Diffstat (limited to 'tdecore/network')
-rw-r--r--tdecore/network/kresolver.cpp2
-rw-r--r--tdecore/network/kresolverstandardworkers.cpp2
-rw-r--r--tdecore/network/ksrvresolverworker.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/network/kresolver.cpp b/tdecore/network/kresolver.cpp
index cb2e21996..a6ca8e45c 100644
--- a/tdecore/network/kresolver.cpp
+++ b/tdecore/network/kresolver.cpp
@@ -940,7 +940,7 @@ static TQString ToUnicode(const TQString& label);
static TQStringList *KResolver_initIdnDomains()
{
- const char *kde_use_idn = getenv("KDE_USE_IDN");
+ const char *kde_use_idn = getenv("TDE_USE_IDN");
if (!kde_use_idn)
kde_use_idn = "ac:at:br:cat:ch:cl:cn:de:dk:fi:gr:hu:info:io:is:jp:kr:li:lt:museum:org:no:se:sh:th:tm:tw:vn";
return new TQStringList(TQStringList::split(':', TQString::fromLatin1(kde_use_idn).lower()));
diff --git a/tdecore/network/kresolverstandardworkers.cpp b/tdecore/network/kresolverstandardworkers.cpp
index 5f0229969..77c085e08 100644
--- a/tdecore/network/kresolverstandardworkers.cpp
+++ b/tdecore/network/kresolverstandardworkers.cpp
@@ -63,7 +63,7 @@ static bool hasIPv6()
#ifndef AF_INET6
return false;
#else
- if (getenv("KDE_NO_IPV6") != 0L)
+ if (getenv("TDE_NO_IPV6") != 0L)
return false;
int fd = ::socket(AF_INET6, SOCK_STREAM, 0);
diff --git a/tdecore/network/ksrvresolverworker.cpp b/tdecore/network/ksrvresolverworker.cpp
index f3166b982..419873d4f 100644
--- a/tdecore/network/ksrvresolverworker.cpp
+++ b/tdecore/network/ksrvresolverworker.cpp
@@ -245,7 +245,7 @@ namespace KNetwork
void initSrvWorker() KDE_NO_EXPORT;
void initSrvWorker()
{
- if (getenv("KDE_NO_SRV") != NULL)
+ if (getenv("TDE_NO_SRV") != NULL)
return;
KResolverWorkerFactoryBase::registerNewWorker(new KResolverWorkerFactory<KSrvResolverWorker>);