projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3558da
)
client: Remove now obsolete function
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 27 Mar 2013 11:54:07 +0000
(13:54 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Thu, 4 Apr 2013 07:27:47 +0000
(10:27 +0300)
client/commands.c
patch
|
blob
|
history
diff --git
a/client/commands.c
b/client/commands.c
index
b6b0202
..
eb53de5
100644
(file)
--- a/
client/commands.c
+++ b/
client/commands.c
@@
-608,7
+608,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;
@@
-625,10
+624,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);
@@
-726,7
+721,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)