From 3d9c38aa8a9212063af16f06eb5fac921eefd947 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 1 Jul 2014 23:27:29 +0200 Subject: [PATCH] add logs to print core version at proxy config initial registration and when creating calls. Previously the version was only logged at startup, which seems not sufficient. It is important to be able to check the version running. --- coreapi/linphonecall.c | 2 +- coreapi/proxy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 042fe89c5..4380ecbeb 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -561,7 +561,7 @@ static void port_config_set(LinphoneCall *call, int stream_index, int min_port, static void linphone_call_init_common(LinphoneCall *call, LinphoneAddress *from, LinphoneAddress *to){ int min_port, max_port; - + ms_message("New LinphoneCall [%p] initialized (LinphoneCore version: %s)",call,linphone_core_get_version()); call->magic=linphone_call_magic; call->refcnt=1; call->state=LinphoneCallIdle; diff --git a/coreapi/proxy.c b/coreapi/proxy.c index 838a536a8..a999d3b3c 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -411,7 +411,7 @@ static void linphone_proxy_config_register(LinphoneProxyConfig *obj){ LinphoneAddress* proxy=linphone_address_new(obj->reg_proxy); char* proxy_string; LinphoneAddress *contact; - + ms_message("LinphoneProxyConfig [%p] about to register (LinphoneCore version: %s)",obj,linphone_core_get_version()); proxy_string=linphone_address_as_string_uri_only(proxy); linphone_address_destroy(proxy); if (obj->op)