mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
Fixed compil
This commit is contained in:
parent
a4614bf482
commit
3ffbfbdafe
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ ChatMessageModifier::Result MultipartChatMessageModifier::encode (
|
|||
multipartMessage << "--";
|
||||
|
||||
Content newContent;
|
||||
ContentType newContentType("multipart/mixed");
|
||||
ContentType newContentType(ContentType::Multipart);
|
||||
newContentType.setParameter("boundary=" + boundary);
|
||||
newContent.setContentType(newContentType);
|
||||
newContent.setBody(multipartMessage.str());
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ Content ContentManager::contentListToMultipart (const list<Content> &contents) {
|
|||
Content content;
|
||||
content.setBody(desc);
|
||||
ContentType contentType = ContentType::Multipart;
|
||||
contentType.setParameter("boundary=" + boundary);
|
||||
contentType.setParameter("boundary=" + MULTIPART_BOUNDARY);
|
||||
content.setContentType(contentType);
|
||||
|
||||
belle_sip_free(desc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue