From 2f02f39756d671ea5469b83c7954a8d8d5ccaec3 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 2 Feb 2016 21:07:38 +0100 Subject: [PATCH] fix build --- coreapi/bellesip_sal/sal_op_impl.c | 2 +- coreapi/proxy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } }