Commit 4e6d6d87 authored by Nicolas Michon's avatar Nicolas Michon

Do not use newly deprecated API

parent b2b1c01a
......@@ -1372,7 +1372,7 @@ static void sip_config_read(LinphoneCore *lc) {
lc->sal->useNoInitialRoute(!!lp_config_get_int(lc->config,"sip","use_no_initial_route",0));
lc->sal->useRport(!!lp_config_get_int(lc->config,"sip","use_rport",1));
linphone_core_set_linphone_specs(lc, lp_config_get_string(lc->config, "sip", "linphone_specs", ""));
L_GET_CPP_PTR_FROM_C_OBJECT(lc)->setSpecs(linphone_config_get_string(lc->config, "sip", "linphone_specs", ""));
if (!lp_config_get_int(lc->config,"sip","ipv6_migration_done",FALSE) && lp_config_has_entry(lc->config,"sip","use_ipv6")) {
lp_config_clean_entry(lc->config,"sip","use_ipv6");
......
......@@ -321,7 +321,7 @@ const std::list<std::string> &Core::getSpecsList () const {
return d->specs;
}
//Deprecated
//Used to set specs from linphone_config
void Core::setSpecs (const std::string &pSpecs) {
L_D();
if (pSpecs.empty()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment