[network-manager-openconnect] Don't filter out *-flags from secrets. We don't need to



commit 7ae21ece0cc7da1a9e3bbf4732c8aec941a0af90
Author: David Woodhouse <David Woodhouse intel com>
Date:   Tue Apr 19 11:42:07 2011 +0100

    Don't filter out *-flags from secrets. We don't need to

 auth-dialog/main.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index a868e07..27821d4 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -1077,12 +1077,9 @@ static gboolean cookie_obtained(auth_ui_data *ui_data)
 
 		g_hash_table_iter_init (&iter, ui_data->secrets);
 		while (g_hash_table_iter_next (&iter, (gpointer *)&key,
-					       (gpointer *)&value)) {
-			int keylen = strlen (key);
-			if (keylen > 6 && strcmp (key + keylen - 6, "-flags")) {
-				printf("%s\n%s\n", key, value);
-			}
-		}
+					       (gpointer *)&value))
+			printf("%s\n%s\n", key, value);
+
 		printf("%s\n%s:%d\n", NM_OPENCONNECT_KEY_GATEWAY,
 		       openconnect_get_hostname(ui_data->vpninfo),
 		       openconnect_get_port(ui_data->vpninfo));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]