forked from mirrors/linphone-iphone
fix crash when one auth info est nil
This commit is contained in:
parent
13acb88907
commit
629397d5f6
1 changed files with 2 additions and 2 deletions
|
|
@ -720,8 +720,8 @@ static void linphone_iphone_popup_password_request(LinphoneCore *lc, LinphoneAut
|
|||
// let the wizard handle its own errors
|
||||
if ([PhoneMainView.instance currentView] != AssistantView.compositeViewDescription) {
|
||||
const char * realmC = linphone_auth_info_get_realm(auth_info);
|
||||
const char * usernameC = linphone_auth_info_get_username(auth_info);
|
||||
const char * domainC = linphone_auth_info_get_domain(auth_info);
|
||||
const char * usernameC = linphone_auth_info_get_username(auth_info) ? : "";
|
||||
const char * domainC = linphone_auth_info_get_domain(auth_info) ? : "";
|
||||
static UIAlertController *alertView = nil;
|
||||
|
||||
// avoid having multiple popups
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue