aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}