projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70a9a9
)
openvpn: Remove unused variable for VPN domain
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 27 May 2011 17:33:41 +0000
(10:33 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 27 May 2011 17:33:41 +0000
(10:33 -0700)
plugins/openvpn.c
patch
|
blob
|
history
diff --git
a/plugins/openvpn.c
b/plugins/openvpn.c
index
2b933b9
..
2a93771
100644
(file)
--- a/
plugins/openvpn.c
+++ b/
plugins/openvpn.c
@@
-98,7
+98,6
@@
static int ov_notify(DBusMessage *msg, struct connman_provider *provider)
{
DBusMessageIter iter, dict;
const char *reason, *key, *value;
- const char *domain = NULL;
char *nameservers = NULL;
char *address = NULL, *gateway = NULL, *peer = NULL;
struct connman_ipaddress *ipaddress;
@@
-116,8
+115,6
@@
static int ov_notify(DBusMessage *msg, struct connman_provider *provider)
if (strcmp(reason, "up"))
return VPN_STATE_DISCONNECT;
- domain = connman_provider_get_string(provider, "VPN.Domain");
-
dbus_message_iter_recurse(&iter, &dict);
while (dbus_message_iter_get_arg_type(&dict) == DBUS_TYPE_DICT_ENTRY) {