mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
allow passing NULL LinphoneContent to API.
This commit is contained in:
parent
d11111b225
commit
bce40f3775
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ const LinphoneContent *linphone_content_from_sal_body(LinphoneContent *obj, cons
|
|||
}
|
||||
|
||||
SalBody *sal_body_from_content(SalBody *body, const LinphoneContent *lc){
|
||||
if (lc->type){
|
||||
if (lc && lc->type){
|
||||
body->type=lc->type;
|
||||
body->subtype=lc->subtype;
|
||||
body->data=lc->data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue