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:
0fa1c28
)
openvpn: Remove double reason parsing
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Tue, 18 Jan 2011 10:05:05 +0000
(11:05 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 22 Jan 2011 00:22:18 +0000
(
01:22
+0100)
Fix a copy/paste error.
Reported by Mohamed Abbas <mohamed.abbas@intel.com>
plugins/openvpn.c
patch
|
blob
|
history
diff --git
a/plugins/openvpn.c
b/plugins/openvpn.c
index
4d13776
..
24aa0bc
100644
(file)
--- a/
plugins/openvpn.c
+++ b/
plugins/openvpn.c
@@
-183,11
+183,6
@@
static int ov_notify(DBusMessage *msg, struct connman_provider *provider)
dbus_message_iter_get_basic(&iter, &reason);
dbus_message_iter_next(&iter);
- dbus_message_iter_init(msg, &iter);
-
- dbus_message_iter_get_basic(&iter, &reason);
- dbus_message_iter_next(&iter);
-
if (!provider) {
connman_error("No provider found");
return VPN_STATE_FAILURE;