diff --git a/coreapi/bellesip_sal/sal_op_impl.c b/coreapi/bellesip_sal/sal_op_impl.c index 9fcca24a6..3fabb55ca 100644 --- a/coreapi/bellesip_sal/sal_op_impl.c +++ b/coreapi/bellesip_sal/sal_op_impl.c @@ -794,6 +794,6 @@ int sal_op_refresh(SalOp *op) { belle_sip_refresher_refresh(op->refresher,belle_sip_refresher_get_expires(op->refresher)); return 0; } - ms_warning("sal_refresh on op [%p] of type [%s] no refresher",op,sal_op_type_to_string(op)); + ms_warning("sal_refresh on op [%p] of type [%s] no refresher",op,sal_op_type_to_string(op->type)); return -1; } diff --git a/coreapi/proxy.c b/coreapi/proxy.c index cf16fddea..90c5def90 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -1119,7 +1119,7 @@ int linphone_proxy_config_send_publish(LinphoneProxyConfig *proxy, LinphonePrese void _linphone_proxy_config_unpublish(LinphoneProxyConfig *obj) { if (obj->long_term_event && (linphone_event_get_publish_state(obj->long_term_event) == LinphonePublishOk || - (linphone_event_get_publish_state(obj->long_term_event) == LinphoneIceStateInProgress && obj->publish_expires != 0))) { + (linphone_event_get_publish_state(obj->long_term_event) == LinphonePublishProgress && obj->publish_expires != 0))) { linphone_event_unpublish(obj->long_term_event); } }