mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix dial plan e164 infinite loop
This commit is contained in:
parent
414fcf3841
commit
271e68f16a
1 changed files with 1 additions and 1 deletions
|
|
@ -625,7 +625,7 @@ int linphone_dial_plan_lookup_ccc_from_e164(const char* e164) {
|
|||
found++;
|
||||
}
|
||||
}
|
||||
} while (found>1 || found==0);
|
||||
} while ((found>1 || found==0) && i < sizeof(dial_plan->ccc));
|
||||
if (found==1) {
|
||||
return atoi(elected_dial_plan->ccc);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue