diff --git a/src/content/content-manager.cpp b/src/content/content-manager.cpp index 1381f8dc1..fea82b66c 100644 --- a/src/content/content-manager.cpp +++ b/src/content/content-manager.cpp @@ -97,7 +97,8 @@ Content ContentManager::contentListToMultipart (const list &contents) { Content content; content.setBody(desc); ContentType contentType = ContentType::Multipart; - contentType.setParameter("boundary=" + MULTIPART_BOUNDARY); + string boundary = "boundary=" + string(MULTIPART_BOUNDARY); + contentType.setParameter(boundary); content.setContentType(contentType); belle_sip_free(desc);