From 6bbbb115184e240540247e160561e70ecaefbb34 Mon Sep 17 00:00:00 2001 From: Fireball Wayne Date: Tue, 14 Feb 2017 08:11:34 -0500 Subject: [PATCH] Remove net::init() --- UI/RemoteISOScreen.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/UI/RemoteISOScreen.cpp b/UI/RemoteISOScreen.cpp index 5a0061c097..21a51814cf 100644 --- a/UI/RemoteISOScreen.cpp +++ b/UI/RemoteISOScreen.cpp @@ -188,9 +188,6 @@ static bool FindServer(std::string &resultHost, int &resultPort) { Buffer result; int code = 500; - // Not sure why this is needed here, but windows fails without it. - net::Init(); - // Try last server first, if it is set if (g_Config.iLastRemoteISOPort && g_Config.sLastRemoteISOServer != "" && http.Resolve(g_Config.sLastRemoteISOServer.c_str(), g_Config.iLastRemoteISOPort) && http.Connect()) { http.Disconnect();