diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2016-07-30 10:26:05 -0300 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2016-07-30 10:33:42 -0300 |
commit | 91072682c01501874ba6d8c74d3ded152db2951b (patch) | |
tree | 25363488983043caa57cad306d60bf78661246d4 /hardinfo/hardinfo.c | |
parent | ba5a7e1b4ccd0a65b72532252ca922b8dea4cce3 (diff) |
Remove remote feature
This has no encryption, SSH credentials are stored in plain text, etc.
Diffstat (limited to 'hardinfo/hardinfo.c')
-rw-r--r-- | hardinfo/hardinfo.c | 13 |
1 files changed, 3 insertions, 10 deletions
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 <iconcache.h> #include <stock.h> #include <vendor.h> -#include <xmlrpc-server.h> #include <binreloc.h> @@ -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); |