mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
fix crash
This commit is contained in:
parent
2d6667238e
commit
d37e618afa
2 changed files with 2 additions and 1 deletions
|
|
@ -218,6 +218,7 @@ static void call_accepted(SalOp *op){
|
|||
}//if there is an accepted incoming call
|
||||
else
|
||||
{
|
||||
linphone_core_set_as_current_call (lc,call);
|
||||
gstate_new_state(lc, GSTATE_CALL_OUT_CONNECTED, NULL);
|
||||
linphone_connect_incoming(lc,call);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ int linphone_core_get_current_call_duration(const LinphoneCore *lc){
|
|||
|
||||
const LinphoneAddress *linphone_core_get_current_call_remote_address(struct _LinphoneCore *lc){
|
||||
LinphoneCall *call=linphone_core_get_current_call(lc);
|
||||
if (call==NULL) return 0;
|
||||
if (call==NULL) return NULL;
|
||||
return linphone_call_get_remote_address(call);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue