summaryrefslogtreecommitdiff
path: root/src/modules/netlib/netlibautoproxy.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-20 13:27:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-20 13:27:22 +0000
commite209db0b4af8c55411e62386dbb83a0a662a858c (patch)
treeff5ac837c864e5f4dea9df01d2c2bb0fd4e25ab6 /src/modules/netlib/netlibautoproxy.cpp
parente058bca9728b2a07d54d7d9505d4516581eeb4ea (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5066 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/netlib/netlibautoproxy.cpp')
-rw-r--r--src/modules/netlib/netlibautoproxy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/netlib/netlibautoproxy.cpp b/src/modules/netlib/netlibautoproxy.cpp
index 204f23ae29..68a433c6c7 100644
--- a/src/modules/netlib/netlibautoproxy.cpp
+++ b/src/modules/netlib/netlibautoproxy.cpp
@@ -385,7 +385,7 @@ void NetlibLoadIeProxy(void)
char* szProxy = ltrim(szHostStr);
if (szProxy[0] == 0) { enabled = false; return; }
- for (;;)
+ while(true)
{
char *szProxyEnd = strchr(szProxy, ';');
if (szProxyEnd) *szProxyEnd = 0;
@@ -417,7 +417,7 @@ void NetlibLoadIeProxy(void)
}
char* szProxyBypass = szProxyBypassStr;
- for (;;)
+ while(true)
{
char *szProxyBypassEnd = strchr(szProxyBypass, ';');
if (szProxyBypassEnd) *szProxyBypassEnd = 0;