mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 23:40:33 +01:00
* Allocate the fixed authentication type so that it may be freed later
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1909 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
4525959f9d
commit
0f2bd31548
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ get_passwords (const char *vpn_name, const char *vpn_service, gboolean retry)
|
|||
username = gnome_two_password_dialog_get_username (GNOME_TWO_PASSWORD_DIALOG (dialog));
|
||||
password = gnome_two_password_dialog_get_password (GNOME_TWO_PASSWORD_DIALOG (dialog));
|
||||
// Statically set the authentication type for now.
|
||||
auth_type = "CHAP";
|
||||
auth_type = g_strdup("CHAP");
|
||||
result = g_slist_append (result, auth_type);
|
||||
result = g_slist_append (result, username);
|
||||
result = g_slist_append (result, password);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue