forked from mirrors/linphone-iphone
fix crash in linphonec
This commit is contained in:
parent
f145c0d49e
commit
c3b31767a3
1 changed files with 1 additions and 1 deletions
|
|
@ -1023,7 +1023,7 @@ linphonec_idle_call ()
|
|||
linphone_core_iterate(opm);
|
||||
if (answer_call){
|
||||
fprintf (stdout, "-------auto answering to call-------\n" );
|
||||
linphone_core_accept_call(opm,NULL);
|
||||
linphone_core_accept_call(opm, linphone_core_get_current_call(opm));
|
||||
answer_call=FALSE;
|
||||
}
|
||||
/* auto call handling */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue