Commit d37e618a authored by Simon Morlat's avatar Simon Morlat
Browse files

fix crash

parent 2d666723
......@@ -218,6 +218,7 @@ static void call_accepted(SalOp *op){
}//if there is an accepted incoming call
linphone_core_set_as_current_call (lc,call);
gstate_new_state(lc, GSTATE_CALL_OUT_CONNECTED, NULL);
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment