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
0466c949
Commit
0466c949
authored
Mar 20, 2013
by
Ghislain MARY
Browse files
Do not define a variable in the middle of a block of code.
parent
5c2ca7c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
coreapi/linphonecore.c
coreapi/linphonecore.c
+2
-1
No files found.
coreapi/linphonecore.c
View file @
0466c949
...
...
@@ -2117,8 +2117,9 @@ void linphone_core_iterate(LinphoneCore *lc){
if
(
call
->
state
==
LinphoneCallIncomingReceived
){
ms_message
(
"incoming call ringing for %i seconds"
,
elapsed
);
if
(
elapsed
>
lc
->
sip_conf
.
inc_timeout
){
LinphoneReason
decline_reason
;
ms_message
(
"incoming call timeout (%i)"
,
lc
->
sip_conf
.
inc_timeout
);
LinphoneReason
decline_reason
=
lc
->
current_call
?
LinphoneReasonBusy
:
LinphoneReasonDeclined
;
decline_reason
=
lc
->
current_call
?
LinphoneReasonBusy
:
LinphoneReasonDeclined
;
call
->
log
->
status
=
LinphoneCallMissed
;
call
->
reason
=
LinphoneReasonNotAnswered
;
linphone_core_decline_call
(
lc
,
call
,
decline_reason
);
...
...
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