From c3b31767a33a374311f20119354df54513d3d4e9 Mon Sep 17 00:00:00 2001 From: Simon Morlat <simon.morlat@linphone.org> Date: Thu, 14 Sep 2017 21:16:05 +0200 Subject: [PATCH] fix crash in linphonec --- console/linphonec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/linphonec.c b/console/linphonec.c index 8b1fe317bb..0ff82a624d 100644 --- a/console/linphonec.c +++ b/console/linphonec.c @@ -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 */ -- GitLab