diff options
Diffstat (limited to 'src/modules/netlib/netlibupnp.cpp')
-rw-r--r-- | src/modules/netlib/netlibupnp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/netlib/netlibupnp.cpp b/src/modules/netlib/netlibupnp.cpp index c0364adbbb..b10278e1dd 100644 --- a/src/modules/netlib/netlibupnp.cpp +++ b/src/modules/netlib/netlibupnp.cpp @@ -236,7 +236,7 @@ static void validateSocket(void) break;
}
- if ( !opened)
+ if (!opened)
closeRouterConnection();
}
@@ -350,7 +350,7 @@ retrycon: NetlibLogf(NULL, "UPnP connect timeout");
break;
}
- else if ( !FD_ISSET(sock, &wfd))
+ else if (!FD_ISSET(sock, &wfd))
{
closeRouterConnection();
NetlibLogf(NULL, "UPnP connect failed");
@@ -807,7 +807,7 @@ void NetlibUPnPCleanup(void*) break;
}
- if ( !incoming)
+ if (!incoming)
return;
}
@@ -837,10 +837,10 @@ void NetlibUPnPCleanup(void*) if (httpTransact(szCtlUrl, szData, 4096, "GetGenericPortMappingEntry", ControlAction) != 200)
break;
- if ( !txtParseParam(szData, "<NewPortMappingDescription", ">", "<", buf, sizeof(buf)) || strcmp(buf, "Miranda") != 0)
+ if (!txtParseParam(szData, "<NewPortMappingDescription", ">", "<", buf, sizeof(buf)) || strcmp(buf, "Miranda") != 0)
continue;
- if ( !txtParseParam(szData, "<NewInternalClient", ">", "<", buf, sizeof(buf)) || strcmp(buf, lip) != 0)
+ if (!txtParseParam(szData, "<NewInternalClient", ">", "<", buf, sizeof(buf)) || strcmp(buf, lip) != 0)
continue;
if (txtParseParam(szData, "<NewExternalPort", ">", "<", buf, sizeof(buf)))
|