From: Ghislain MARY Date: Mon, 22 Apr 2013 11:11:27 +0000 (+0200) Subject: Oops... Forgot the lc parameter. X-Git-Url: http://sjero.net/git/?p=linphone;a=commitdiff_plain;h=f429ce65eb40117f4ebedaeeff54e13d889f7cc4 Oops... Forgot the lc parameter. --- diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index a17543d2..559048c5 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1729,7 +1729,7 @@ bool_t linphone_core_get_use_info_for_dtmf(LinphoneCore *lc) **/ void linphone_core_set_use_info_for_dtmf(LinphoneCore *lc,bool_t use_info) { - if (linphone_core_ready()) { + if (linphone_core_ready(lc)) { lp_config_set_int(lc->config, "sip", "use_info", use_info); } } @@ -1751,7 +1751,7 @@ bool_t linphone_core_get_use_rfc2833_for_dtmf(LinphoneCore *lc) **/ void linphone_core_set_use_rfc2833_for_dtmf(LinphoneCore *lc,bool_t use_rfc2833) { - if (linphone_core_ready()) { + if (linphone_core_ready(lc)) { lp_config_set_int(lc->config, "sip", "use_rfc2833", use_rfc2833); } }