summaryrefslogtreecommitdiff
path: root/src/modules/netlib/netlibupnp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/netlib/netlibupnp.cpp')
-rw-r--r--src/modules/netlib/netlibupnp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/netlib/netlibupnp.cpp b/src/modules/netlib/netlibupnp.cpp
index 564d7093a7..d11917c9b5 100644
--- a/src/modules/netlib/netlibupnp.cpp
+++ b/src/modules/netlib/netlibupnp.cpp
@@ -258,7 +258,7 @@ static int httpTransact(char* szUrl, char* szResult, int resSize, char* szAction
else
validateSocket();
- for (;;)
+ while(true)
{
retryCount = 0;
switch(reqtype)
@@ -381,7 +381,7 @@ retrycon:
LongLog(szData);
sz = 0;
- for (;;)
+ while(true)
{
int bytesRecv;