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
d495761e
Commit
d495761e
authored
Oct 16, 2015
by
Sylvain Berfini
🐮
Browse files
Fix crash in log upload
parent
725b8665
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
coreapi/linphonecore.c
coreapi/linphonecore.c
+1
-1
No files found.
coreapi/linphonecore.c
View file @
d495761e
...
...
@@ -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
);
...
...
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