diff --git a/src/core/hle/service/http_c.cpp b/src/core/hle/service/http_c.cpp index 5046e531b..b01d6e031 100644 --- a/src/core/hle/service/http_c.cpp +++ b/src/core/hle/service/http_c.cpp @@ -6,18 +6,7 @@ namespace Service { namespace HTTP { -void ClearDNSCache(Interface* self) { -#ifdef _WIN32 - system("ipconfig /flush dns"); -#elif __APPLE__ - system("sudo killall -HUP mDNSResponder"); -#else - system("/etc/init.d/named restart"); - system("/etc/init.d/nscd restart"); -#endif - u32* cmd_buff = Kernel::GetCommandBuffer(); - cmd_buff[1] = RESULT_SUCCESS.raw; // No error -} + const Interface::FunctionInfo FunctionTable[] = { {0x00010044, nullptr, "Initialize"}, {0x00020082, nullptr, "CreateContext"}, @@ -69,7 +58,7 @@ const Interface::FunctionInfo FunctionTable[] = { {0x00330040, nullptr, "OpenDefaultClientCertContext"}, {0x00340040, nullptr, "CloseClientCertContext"}, {0x00350186, nullptr, "SetDefaultProxy"}, - {0x00360000, ClearDNSCache, "ClearDNSCache"}, + {0x00360000, nullptr, "ClearDNSCache"}, {0x00370080, nullptr, "SetKeepAlive"}, {0x003800C0, nullptr, "SetPostDataTypeSize"}, {0x00390000, nullptr, "Finalize"},