linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] [Bug] Call pausing


From: Fabrizio Carrai
Subject: [Linphone-developers] [Bug] Call pausing
Date: Tue, 25 Aug 2015 20:15:14 +0200

Here a bug I found (another will follow), please feel free to comment.

 
Version:
Linphone 3.8.5 (Linux)

Description:
The bug has been found during a code review. No test have been done yet, although the error seems to be evident.

Module:

gtk/main.c


Code:

static void linphone_gtk_call_state_changed(LinphoneCore *lc, LinphoneCall *call, LinphoneCallState cs, const char *msg){
switch(cs){

[...]
case LinphoneCallPausing:
linphone_gtk_enable_hold_button(call,TRUE,FALSE);
linphone_gtk_call_update_tab_header(call,FALSE);
<<<<----- 'break' is missing
case LinphoneCallPausedByRemote:
linphone_gtk_in_call_view_set_paused(call);
linphone_gtk_call_update_tab_header(call,TRUE);
break;

[...]
linphone_gtk_update_call_buttons (call);
}


--
Fabrizio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]