From a4cfc69c954f8fb1e626c940b8f243d4232e9b9c Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Mon, 21 May 2012 17:29:47 +0200 Subject: [PATCH] Fix call stats init --- coreapi/linphonecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 8dccf9612..f010a7e79 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -318,7 +318,7 @@ static void linphone_call_init_common(LinphoneCall *call, LinphoneAddress *from, } void linphone_call_init_stats(LinphoneCallStats *stats, int type) { - stats->type = LINPHONE_CALL_STATS_AUDIO; + stats->type = type; stats->received_rtcp = NULL; stats->sent_rtcp = NULL; }