auth-dialog: clarify function name
authorDan Williams <dcbw@redhat.com>
Tue, 16 Jul 2013 19:07:03 +0000 (14:07 -0500)
committerDan Williams <dcbw@redhat.com>
Fri, 2 Aug 2013 20:44:07 +0000 (15:44 -0500)
auth-dialog/main.c

index 6f52dd4..6ff90e1 100644 (file)
@@ -251,9 +251,9 @@ get_secrets (const char *vpn_name,
 }
 
 static void
-get_password_types (GHashTable *data,
-                    gboolean *out_need_password,
-                    gboolean *out_need_certpass)
+get_passwords_required (GHashTable *data,
+                        gboolean *out_need_password,
+                        gboolean *out_need_certpass)
 {
        const char *ctype, *val;
        NMSettingSecretFlags flags = NM_SETTING_SECRET_FLAG_NONE;
@@ -355,7 +355,7 @@ main (int argc, char *argv[])
                return 1;
        }
 
-       get_password_types (data, &need_password, &need_certpass);
+       get_passwords_required (data, &need_password, &need_certpass);
        if (!need_password && !need_certpass) {
                if (external_ui_mode) {
                        GKeyFile *keyfile;