mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
Fix linphonecontent when ZLIB is available
This commit is contained in:
parent
15c6f3b898
commit
124beb8e55
1 changed files with 2 additions and 2 deletions
|
|
@ -559,8 +559,8 @@ void linphone_core_upload_log_collection(LinphoneCore *core) {
|
|||
core->log_collection_upload_information = (LinphoneContent *)malloc(sizeof(LinphoneContent));
|
||||
memset(core->log_collection_upload_information, 0, sizeof(LinphoneContent));
|
||||
#ifdef HAVE_ZLIB
|
||||
core->log_collection_upload_information->type = "application";
|
||||
core->log_collection_upload_information->subtype = "gzip";
|
||||
linphone_content_set_type(core->log_collection_upload_information, "application");
|
||||
linphone_content_set_subtype(core->log_collection_upload_information, "gzip");
|
||||
#else
|
||||
linphone_content_set_type(core->log_collection_upload_information, "text");
|
||||
linphone_content_set_subtype(core->log_collection_upload_information,"plain");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue