diff --git a/src/content/content-manager.cpp b/src/content/content-manager.cpp index 0e21a2953..2223de63f 100644 --- a/src/content/content-manager.cpp +++ b/src/content/content-manager.cpp @@ -32,7 +32,7 @@ LINPHONE_BEGIN_NAMESPACE // ----------------------------------------------------------------------------- list ContentManager::multipartToContentList (const Content &content) { - string boundary = content.getContentType().getParameter("boundary").empty() ? MultipartBoundary : content.getContentType.getParameter("boundary"); + string boundary = content.getContentType().getParameter("boundary").getValue().empty() ? MultipartBoundary : content.getContentType.getParameter("boundary").getValue(); const string body = content.getBodyAsString(); belle_sip_multipart_body_handler_t *mpbh = belle_sip_multipart_body_handler_new_from_buffer( body.c_str(), body.length(), boundary.c_str()