Previous fix cancelled, real fix applied

This commit is contained in:
Sylvain Berfini 2012-09-20 17:57:00 +02:00
parent 011db1f6a2
commit b94ed904fd

View file

@ -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){
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));
}
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));
}