mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix merge issue
This commit is contained in:
parent
510d426b7d
commit
4a7099b983
1 changed files with 7 additions and 0 deletions
|
|
@ -7658,6 +7658,13 @@ JNIEXPORT void JNICALL Java_org_linphone_core_LinphoneNatPolicyImpl_setStunServe
|
|||
// XML RPC wrapper
|
||||
|
||||
static void xml_request_response(LinphoneXmlRpcRequest *request) {
|
||||
JNIEnv *env = 0;
|
||||
jint result = jvm->AttachCurrentThread(&env,NULL);
|
||||
if (result != 0) {
|
||||
ms_error("cannot attach VM\n");
|
||||
return;
|
||||
}
|
||||
|
||||
LinphoneXmlRpcRequestCbs *cbs = linphone_xml_rpc_request_get_callbacks(request);
|
||||
jobject listener = (jobject) linphone_xml_rpc_request_cbs_get_user_data(cbs);
|
||||
if (listener == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue