From 0013ebeceb490e64f0d20a81e53639db2d560fcd Mon Sep 17 00:00:00 2001 From: Erwan Croze Date: Thu, 22 Jun 2017 14:28:55 +0200 Subject: [PATCH] Fix JNI of LinphoneInfoMessageImpl_setContent Fixes BelledonneCommunications/linphone-android#81 --- coreapi/linphonecore_jni.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore_jni.cc b/coreapi/linphonecore_jni.cc index e3efafde5..8bbaef977 100644 --- a/coreapi/linphonecore_jni.cc +++ b/coreapi/linphonecore_jni.cc @@ -6273,7 +6273,7 @@ JNIEXPORT void JNICALL Java_org_linphone_core_LinphoneInfoMessageImpl_setContent linphone_content_set_type(content, tmp = GetStringUTFChars(env, jtype)); ReleaseStringUTFChars(env, jtype, tmp); - linphone_content_set_type(content, tmp = GetStringUTFChars(env, jsubtype)); + linphone_content_set_subtype(content, tmp = GetStringUTFChars(env, jsubtype)); ReleaseStringUTFChars(env, jsubtype, tmp); linphone_content_set_string_buffer(content, tmp = GetStringUTFChars(env, jdata));