aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/callbacks.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2010-01-04 22:48:48 -0200
committerLeandro Pereira <leandro@hardinfo.org>2010-01-04 22:48:48 -0200
commit7ffef14130b8f8e16031338aca4fcfb174d46075 (patch)
tree9aba657deb87b4bf31d8d2809a69eddcb1ac99c9 /hardinfo2/callbacks.c
parent148870bd0d9197dc4cfc08acf6be0c756d0f06bc (diff)
Fix all compilation warnings (now being treated as errors).
Diffstat (limited to 'hardinfo2/callbacks.c')
-rw-r--r--hardinfo2/callbacks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c
index e9669a26..021560e2 100644
--- a/hardinfo2/callbacks.c
+++ b/hardinfo2/callbacks.c
@@ -25,6 +25,7 @@
#include "shell.h"
#include "report.h"
+#include "remote.h"
#include "syncmanager.h"
#include "help-viewer.h"
#include "xmlrpc-server.h"
@@ -112,7 +113,7 @@ void cb_local_computer()
Shell *shell = shell_get_main_shell();
shell_status_update("Disconnecting...");
- remote_disconnect_all();
+ remote_disconnect_all(TRUE);
shell_status_update("Unloading modules...");
module_unload_all();