Commit 3ffbfbda authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed compil

parent a4614bf4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment