Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use the correct realm for the saved password
  • Loading branch information
mochouinard committed Jun 27, 2013
1 parent 398f790 commit d4c4023
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gtk/setupwizard.c
Expand Up @@ -423,8 +423,7 @@ static void linphone_gtk_assistant_prepare(GtkWidget *assistant, GtkWidget *page
gchar *username = creator->username + 4;
const gchar *needle = "@";
username = g_strndup(username, (g_strrstr(username, needle) - username));
gchar domain[128];
g_snprintf(domain, sizeof(domain), "\"%s\"", creator->domain + 4);
gchar *domain = g_strrstr(creator->username, needle) + 1;
LinphoneAuthInfo *info=linphone_auth_info_new(username, username, creator->password, NULL, domain);
linphone_core_add_auth_info(linphone_gtk_get_core(),info);

Expand Down

0 comments on commit d4c4023

Please sign in to comment.