fix build

This commit is contained in:
Benjamin Reis 2018-03-21 16:11:51 +01:00
parent 838f597e08
commit fbad73488d

View file

@ -32,7 +32,7 @@ LINPHONE_BEGIN_NAMESPACE
// -----------------------------------------------------------------------------
list<Content> ContentManager::multipartToContentList (const Content &content) {
string boundary = content.getContentType.getParameter("boundary").empty() ? MultipartBoundary : content.getContentType.getParameter("boundary");
string boundary = content.getContentType().getParameter("boundary").empty() ? MultipartBoundary : content.getContentType.getParameter("boundary");
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()