summaryrefslogtreecommitdiffstats
path: root/tdecore/network
diff options
context:
space:
mode:
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>);