forked from mirrors/linphone-iphone
Fix set_phone_number
This commit is contained in:
parent
4d500e84fe
commit
a85bce3430
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ LinphoneAccountCreatorStatus linphone_account_creator_set_phone_number(LinphoneA
|
|||
|
||||
// if phone is valid, we lastly want to check that length is OK
|
||||
{
|
||||
const LinphoneDialPlan* plan = linphone_dial_plan_by_ccc(country_code);
|
||||
const LinphoneDialPlan* plan = linphone_dial_plan_by_ccc(creator->phone_country_code);
|
||||
int size = (int)strlen(phone_number);
|
||||
if (linphone_dial_plan_is_generic(plan)) {
|
||||
return LinphoneAccountCreatorCountryCodeInvalid;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue