mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-02 10:56:24 +00:00
Previous fix cancelled, real fix applied
This commit is contained in:
parent
011db1f6a2
commit
b94ed904fd
1 changed files with 3 additions and 3 deletions
|
|
@ -1558,13 +1558,13 @@ extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_createDefaultCallParams
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getRemoteParams(JNIEnv *env, jobject thiz, jlong lc){
|
extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getRemoteParams(JNIEnv *env, jobject thiz, jlong lc){
|
||||||
|
if (linphone_call_get_remote_params((LinphoneCall*)lc) == NULL) {
|
||||||
|
return (jlong) 0;
|
||||||
|
}
|
||||||
return (jlong) linphone_call_params_copy(linphone_call_get_remote_params((LinphoneCall*)lc));
|
return (jlong) linphone_call_params_copy(linphone_call_get_remote_params((LinphoneCall*)lc));
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getCurrentParamsCopy(JNIEnv *env, jobject thiz, jlong lc){
|
extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getCurrentParamsCopy(JNIEnv *env, jobject thiz, jlong lc){
|
||||||
if (linphone_call_get_current_params((LinphoneCall*)lc) == NULL) {
|
|
||||||
return (jlong) 0;
|
|
||||||
}
|
|
||||||
return (jlong) linphone_call_params_copy(linphone_call_get_current_params((LinphoneCall*)lc));
|
return (jlong) linphone_call_params_copy(linphone_call_get_current_params((LinphoneCall*)lc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue