]> sjero.net Git - linphone/commitdiff
Fix Decline/Missed call log
authorYann Diorcet <yann.diorcet@belledonne-communications.com>
Thu, 26 Jul 2012 14:17:46 +0000 (16:17 +0200)
committerYann Diorcet <yann.diorcet@belledonne-communications.com>
Thu, 26 Jul 2012 14:17:46 +0000 (16:17 +0200)
coreapi/linphonecall.c

index ec006dd58bad9e0f29cab205d9aea14ffe9655d8..3793cb32b1f9329117a43b8bef4fb577d41cfd32 100644 (file)
@@ -489,9 +489,10 @@ void linphone_call_set_state(LinphoneCall *call, LinphoneCallState cstate, const
                        call->state=cstate;
                }
                if (cstate==LinphoneCallEnd || cstate==LinphoneCallError){
-             switch(call->reason){
+                       switch(call->reason){
                                case LinphoneReasonDeclined:
                                        call->log->status=LinphoneCallDeclined;
+                               break;
                                case LinphoneReasonNotAnswered:
                                        call->log->status=LinphoneCallMissed;
                                break;