diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-01-18 11:05:05 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-22 01:22:18 +0100 |
commit | a5976bab979e6018d9f38fb088d1aa699bb0fb6c (patch) | |
tree | 91e04369306ccf9242645ace2f30fd4e0a691b92 /plugins/openvpn.c | |
parent | 0fa1c28478d607b9c59d4ea353d10c3e47ad4751 (diff) | |
download | connman-a5976bab979e6018d9f38fb088d1aa699bb0fb6c.tar.gz connman-a5976bab979e6018d9f38fb088d1aa699bb0fb6c.tar.bz2 connman-a5976bab979e6018d9f38fb088d1aa699bb0fb6c.zip |
openvpn: Remove double reason parsing
Fix a copy/paste error.
Reported by Mohamed Abbas <mohamed.abbas@intel.com>
Diffstat (limited to 'plugins/openvpn.c')
-rw-r--r-- | plugins/openvpn.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/openvpn.c b/plugins/openvpn.c index 4d137767..24aa0bc7 100644 --- 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; |