]> sjero.net Git - linphone/commitdiff
Oops... Forgot the lc parameter.
authorGhislain MARY <ghislain.mary@belledonne-communications.com>
Mon, 22 Apr 2013 11:11:27 +0000 (13:11 +0200)
committerGhislain MARY <ghislain.mary@belledonne-communications.com>
Mon, 22 Apr 2013 11:11:27 +0000 (13:11 +0200)
coreapi/linphonecore.c

index a17543d22da61ca1af021ab501f3531a13f70303..559048c59b495aed850def12837596bec1f1efea 100644 (file)
@@ -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);
        }
 }