]> sjero.net Git - linphone/commitdiff
Fix call stats init
authorYann Diorcet <yann.diorcet@belledonne-communications.com>
Mon, 21 May 2012 15:29:47 +0000 (17:29 +0200)
committerYann Diorcet <yann.diorcet@belledonne-communications.com>
Mon, 21 May 2012 15:29:47 +0000 (17:29 +0200)
coreapi/linphonecall.c

index 8dccf96120aaf92f9293b9537d9a5299bc987aa3..f010a7e7923156485e4470e28868b63f53c925fb 100644 (file)
@@ -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;
 }