mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 14:18:07 +00:00
Fix crash in log upload
This commit is contained in:
parent
725b866566
commit
d495761e8c
1 changed files with 1 additions and 1 deletions
|
|
@ -669,7 +669,7 @@ void linphone_core_upload_log_collection(LinphoneCore *core) {
|
|||
liblinphone_log_collection_prefix ? liblinphone_log_collection_prefix : LOG_COLLECTION_DEFAULT_PREFIX,
|
||||
COMPRESSED_LOG_COLLECTION_EXTENSION);
|
||||
linphone_content_set_name(core->log_collection_upload_information, name);
|
||||
if (prepare_log_collection_file_to_upload(name) < 0) return;
|
||||
if (prepare_log_collection_file_to_upload(name) <= 0) return;
|
||||
linphone_content_set_size(core->log_collection_upload_information, get_size_of_file_to_upload(name));
|
||||
uri = belle_generic_uri_parse(linphone_core_get_log_collection_upload_server_url(core));
|
||||
req = belle_http_request_create("POST", uri, NULL, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue