---
client/commands.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/client/commands.c b/client/commands.c
index ecc1ae5..bce27c9 100644
--- a/client/commands.c
+++ b/client/commands.c
@@ -606,7 +606,6 @@ static int cmd_config(char *args[], int num, struct option
*options)
int result = 0, res = 0, index = 2, oldindex = 0;
int c;
char *service_name, *path;
- DBusMessage *message;
char **opt_start;
dbus_bool_t val;
struct config_append append;
@@ -623,10 +622,6 @@ static int cmd_config(char *args[], int num, struct option
*options)
res = 0;
- message = get_message(connection, "GetServices");
- if (message == NULL)
- return -ENOMEM;
-
oldindex = index;
path = g_strdup_printf("/net/connman/service/%s", service_name);
@@ -724,7 +719,6 @@ static int cmd_config(char *args[], int num, struct option
*options)
}
g_free(path);
- dbus_message_unref(message);
if (res < 0) {
if (res == -EINPROGRESS)
--
1.7.10.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman