Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
011db1f6
Commit
011db1f6
authored
12 years ago
by
Sylvain Berfini
Browse files
Options
Download
Patches
Plain Diff
getCurrentParamsCopy can return null
parent
e43709fd
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
coreapi/linphonecore_jni.cc
+3
-0
coreapi/linphonecore_jni.cc
with
3 additions
and
0 deletions
coreapi/linphonecore_jni.cc
+
3
−
0
View file @
011db1f6
...
@@ -1562,6 +1562,9 @@ extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getRemoteParams(JNIEnv
...
@@ -1562,6 +1562,9 @@ extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getRemoteParams(JNIEnv
}
}
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
));
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets