mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
fix(c-dial-plan): avoid static object in by_ccc...
This commit is contained in:
parent
795fc66a2d
commit
595cb5871d
1 changed files with 2 additions and 2 deletions
|
|
@ -58,12 +58,12 @@ int linphone_dial_plan_lookup_ccc_from_iso (const char *iso) {
|
|||
}
|
||||
|
||||
const LinphoneDialPlan *linphone_dial_plan_by_ccc_as_int (int ccc) {
|
||||
static const LinphonePrivate::DialPlan &dp = LinphonePrivate::DialPlan::findByCcc(ccc);
|
||||
const LinphonePrivate::DialPlan &dp = LinphonePrivate::DialPlan::findByCccAsInt(ccc);
|
||||
return L_GET_C_BACK_PTR(&dp);
|
||||
}
|
||||
|
||||
const LinphoneDialPlan *linphone_dial_plan_by_ccc (const char *ccc) {
|
||||
static const LinphonePrivate::DialPlan &dp = LinphonePrivate::DialPlan::findByCcc(L_C_TO_STRING(ccc));
|
||||
const LinphonePrivate::DialPlan &dp = LinphonePrivate::DialPlan::findByCcc(L_C_TO_STRING(ccc));
|
||||
return L_GET_C_BACK_PTR(&dp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue