[network-manager-openvpn] properties: fix store/read HTTP Proxy password to system settings
- From: Jiří Klimeš <jklimes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] properties: fix store/read HTTP Proxy password to system settings
- Date: Fri, 4 Feb 2011 11:43:31 +0000 (UTC)
commit bfe820cc7594ef7c322c25317272129fd73ed1a6
Author: JiÅ?à KlimeÅ¡ <jklimes redhat com>
Date: Fri Feb 4 12:42:21 2011 +0100
properties: fix store/read HTTP Proxy password to system settings
properties/nm-openvpn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/nm-openvpn.c b/properties/nm-openvpn.c
index 7bfb5eb..f620015 100644
--- a/properties/nm-openvpn.c
+++ b/properties/nm-openvpn.c
@@ -398,7 +398,7 @@ hash_copy_advanced (gpointer key, gpointer data, gpointer user_data)
g_return_if_fail (value && strlen (value));
/* HTTP Proxy password is a secret, not a data item */
- if (!strcmp (value, NM_OPENVPN_KEY_HTTP_PROXY_PASSWORD))
+ if (!strcmp (key, NM_OPENVPN_KEY_HTTP_PROXY_PASSWORD))
nm_setting_vpn_add_secret (s_vpn, (const char *) key, value);
else
nm_setting_vpn_add_data_item (s_vpn, (const char *) key, value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]