do not display '????'

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@646 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
smorlat 2009-09-11 11:03:22 +00:00
parent 7904f6a229
commit 4e7fd433aa

View file

@ -46,9 +46,10 @@ void linphone_gtk_show_login_frame(LinphoneProxyConfig *cfg){
osip_from_parse(from,linphone_proxy_config_get_identity(cfg));
ai=linphone_core_find_auth_info(lc,linphone_proxy_config_get_domain(cfg),from->url->username);
/*display the last entered username*/
gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(mw,"login_username")),
from->url->username);
/*display the last entered username, if not '?????'*/
if (from->url->username[0]!='?')
gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(mw,"login_username")),
from->url->username);
gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(mw,"login_password")),
ai!=NULL ? ai->passwd : "");
if (linphone_core_get_download_bandwidth(lc)==0 &&