mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 06:09:39 +00:00
fix build
This commit is contained in:
parent
e206111171
commit
ee01434774
1 changed files with 2 additions and 1 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "content-manager.h"
|
||||
#include "content-type.h"
|
||||
#include "content/content.h"
|
||||
#include "content/header-param.h"
|
||||
|
||||
// =============================================================================
|
||||
|
||||
|
|
@ -32,7 +33,7 @@ LINPHONE_BEGIN_NAMESPACE
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
list<Content> ContentManager::multipartToContentList (const Content &content) {
|
||||
string boundary = content.getContentType().getParameter("boundary").getValue().empty() ? MultipartBoundary : content.getContentType.getParameter("boundary").getValue();
|
||||
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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue