Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
1a761ebe
Commit
1a761ebe
authored
May 12, 2017
by
Erwan Croze
👋🏻
Browse files
Fix loadXmlFile in Linphone JNI
parent
c9ada30c
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecore_jni.cc
View file @
1a761ebe
...
...
@@ -6022,7 +6022,7 @@ extern "C" void Java_org_linphone_core_LpConfigImpl_sync(JNIEnv *env, jobject th
extern
"C"
void
Java_org_linphone_core_LpConfigImpl_loadXmlFile
(
JNIEnv
*
env
,
jobject
thiz
,
jlong
lpc
,
jstring
jfilename
)
{
const
char
*
filename
=
GetStringUTFChars
(
env
,
jfilename
);
LpConfig
*
lp
=
(
LpConfig
*
)
lpc
;
linphone_config_load_from_xml_file
(
lp
,
filename
,
NULL
,
NULL
);
linphone_config_load_from_xml_file
(
lp
,
filename
);
ReleaseStringUTFChars
(
env
,
jfilename
,
filename
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment