mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 10:49:26 +00:00
Better fix for multipart boundary in content type
This commit is contained in:
parent
0e61ad5572
commit
01e4b753cb
1 changed files with 3 additions and 1 deletions
|
|
@ -94,7 +94,9 @@ Content ContentManager::contentListToMultipart (const list<Content> &contents) {
|
|||
|
||||
Content content;
|
||||
content.setBody(desc);
|
||||
content.setContentType(ContentType::Multipart);
|
||||
ContentType contentType = ContentType::Multipart;
|
||||
contentType.setParameter("boundary=" + boundary);
|
||||
content.setContentType(contentType);
|
||||
|
||||
belle_sip_free(desc);
|
||||
belle_sip_object_unref(mpbh);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue