aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelupus <elupus@xbmc.org>2011-05-06 21:59:01 +0200
committerelupus <elupus@xbmc.org>2011-05-10 19:17:25 +0200
commit1f983b04c464773d00570a0d729d6d7288e5e65c (patch)
tree44805c06a0929ca962c1f13fd8581da1866a5d4b
parent6a5896c5f031a01fcef63ead08d45c99e553d5f2 (diff)
changed: drop pointless winsock check which wouldn't help startup at all
-rw-r--r--xbmc/network/TCPServer.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/xbmc/network/TCPServer.cpp b/xbmc/network/TCPServer.cpp
index 7984369fdd..7a57cc9657 100644
--- a/xbmc/network/TCPServer.cpp
+++ b/xbmc/network/TCPServer.cpp
@@ -200,19 +200,7 @@ bool CTCPServer::InitializeTCP()
if (fd == INVALID_SOCKET)
{
-#ifdef _WIN32
- int ierr = WSAGetLastError();
- CLog::Log(LOGERROR, "JSONRPC Server: Failed to create serversocket %d", ierr);
- // hack for broken third party libs
- if(ierr == WSANOTINITIALISED)
- {
- WSADATA wd;
- if (WSAStartup(MAKEWORD(2,2), &wd) != 0)
- CLog::Log(LOGERROR, "JSONRPC Server: WSAStartup failed");
- }
-#else
CLog::Log(LOGERROR, "JSONRPC Server: Failed to create serversocket");
-#endif
return false;
}