Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
b5e52a00
Commit
b5e52a00
authored
Nov 25, 2015
by
Ghislain MARY
Browse files
Reflect changes to belle-sip that add a new parameter to belle_sip_muiltpart_body_handler_new().
parent
6a9247d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
coreapi/chat_file_transfer.c
View file @
b5e52a00
...
...
@@ -215,8 +215,7 @@ static void linphone_chat_message_process_response_from_post_file(void *data,
linphone_content_get_subtype
(
msg
->
file_transfer_information
)));
/* insert it in a multipart body handler which will manage the boundaries of multipart msg */
bh
=
belle_sip_multipart_body_handler_new
(
linphone_chat_message_file_transfer_on_progress
,
msg
,
first_part_bh
);
bh
=
belle_sip_multipart_body_handler_new
(
linphone_chat_message_file_transfer_on_progress
,
msg
,
first_part_bh
,
NULL
);
linphone_chat_message_ref
(
msg
);
_release_http_request
(
msg
);
...
...
coreapi/linphonecore.c
View file @
b5e52a00
...
...
@@ -520,7 +520,7 @@ static void process_response_from_post_file_log_collection(void *data, const bel
(
belle_sip_header_t
*
)
belle_sip_header_content_type_create
(
linphone_content_get_type
(
core
->
log_collection_upload_information
),
linphone_content_get_subtype
(
core
->
log_collection_upload_information
)));
/* Insert it in a multipart body handler which will manage the boundaries of multipart message */
bh
=
belle_sip_multipart_body_handler_new
(
log_collection_upload_on_progress
,
core
,
(
belle_sip_body_handler_t
*
)
first_part_bh
);
bh
=
belle_sip_multipart_body_handler_new
(
log_collection_upload_on_progress
,
core
,
(
belle_sip_body_handler_t
*
)
first_part_bh
,
NULL
);
ua
=
ms_strdup_printf
(
"%s/%s"
,
linphone_core_get_user_agent_name
(),
linphone_core_get_user_agent_version
());
uri
=
belle_generic_uri_parse
(
linphone_core_get_log_collection_upload_server_url
(
core
));
req
=
belle_http_request_create
(
"POST"
,
uri
,
belle_sip_header_create
(
"User-Agent"
,
ua
),
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment