From 91072682c01501874ba6d8c74d3ded152db2951b Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sat, 30 Jul 2016 10:26:05 -0300 Subject: Remove remote feature This has no encryption, SSH credentials are stored in plain text, etc. --- hardinfo/hardinfo.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'hardinfo') diff --git a/hardinfo/hardinfo.c b/hardinfo/hardinfo.c index 8218df14..5ba6fc42 100644 --- a/hardinfo/hardinfo.c +++ b/hardinfo/hardinfo.c @@ -24,7 +24,6 @@ #include #include #include -#include #include @@ -95,9 +94,8 @@ int main(int argc, char **argv) return 0; } - if (!params.create_report && !params.run_benchmark && !params.run_xmlrpc_server) { - /* we only try to open the UI if the user didn't asked for a - report. */ + if (!params.create_report && !params.run_benchmark) { + /* we only try to open the UI if the user didn't ask for a report. */ params.gui_running = ui_init(&argc, &argv); /* as a fallback, if GTK+ initialization failed, run in report @@ -122,12 +120,7 @@ int main(int argc, char **argv) /* initialize moreinfo */ moreinfo_init(); - if (params.run_xmlrpc_server) { - g_type_init(); - - xmlrpc_server_init(); - xmlrpc_server_start(NULL); - } else if (params.run_benchmark) { + if (params.run_benchmark) { gchar *result; result = module_call_method_param("benchmark::runBenchmark", params.run_benchmark); -- cgit v1.2.3