Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
46ca46c9
Commit
46ca46c9
authored
Nov 16, 2015
by
Simon Morlat
Browse files
prevent terminating a call that is already in error state
parent
49ec5eeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecore.c
View file @
46ca46c9
...
...
@@ -3856,6 +3856,7 @@ int linphone_core_terminate_call(LinphoneCore *lc, LinphoneCall *the_call)
switch
(
call
->
state
)
{
case
LinphoneCallReleased
:
case
LinphoneCallEnd
:
case
LinphoneCallError
:
ms_warning
(
"No need to terminate a call [%p] in state [%s]"
,
call
,
linphone_call_state_to_string
(
call
->
state
));
return
-
1
;
case
LinphoneCallIncomingReceived
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment