summaryrefslogtreecommitdiff
path: root/src/modules/netlib/netlibupnp.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-11-13 13:38:47 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-11-13 13:38:47 +0000
commit2fc2fe879bcd82fde1762b780691a358a9addc48 (patch)
tree929daf1f2bc58666859bf564e34cd57df0b6469e /src/modules/netlib/netlibupnp.cpp
parent1456f2f9d1a79d7da925551b8947ff1e6140feed (diff)
tabs and spaces cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2305 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/netlib/netlibupnp.cpp')
-rw-r--r--src/modules/netlib/netlibupnp.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/netlib/netlibupnp.cpp b/src/modules/netlib/netlibupnp.cpp
index 33f48221c3..50f6e421f9 100644
--- a/src/modules/netlib/netlibupnp.cpp
+++ b/src/modules/netlib/netlibupnp.cpp
@@ -192,7 +192,6 @@ void parseURL(char* szUrl, char* szHost, unsigned short* sPort, char* szPath)
}
}
-
static void LongLog(char* szData)
{
CallService(MS_NETLIB_LOG, 0, (LPARAM)szData);
@@ -212,7 +211,7 @@ static void validateSocket(void)
static const TIMEVAL tv = { 0, 0 };
fd_set rfd;
char buf[4];
- bool opened;
+ bool opened;
if (sock == INVALID_SOCKET)
return;
@@ -261,7 +260,7 @@ static int httpTransact(char* szUrl, char* szResult, int resSize, char* szAction
for (;;)
{
retryCount = 0;
- switch(reqtype)
+ switch(reqtype)
{
case DeviceGetReq:
sz = mir_snprintf (szData, 4096, xml_get_hdr, szPath, szHost, sPort);
@@ -594,7 +593,6 @@ static bool getUPnPURLs(char* szUrl, size_t sizeUrl)
return gatewayFound;
}
-
static void discoverUPnP(void)
{
char* buf;
@@ -700,7 +698,6 @@ static void discoverUPnP(void)
closesocket(sock);
}
-
static bool findUPnPGateway(void)
{
if ((time(NULL) - lastDiscTime) >= expireTime)