Commit 5e24a572 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix same issue as before somewhere else

parent d495761e
......@@ -688,7 +688,7 @@ char * linphone_core_compress_log_collection() {
filename = ms_strdup_printf("%s_log.%s",
liblinphone_log_collection_prefix ? liblinphone_log_collection_prefix : LOG_COLLECTION_DEFAULT_PREFIX,
COMPRESSED_LOG_COLLECTION_EXTENSION);
if (prepare_log_collection_file_to_upload(filename) < 0) {
if (prepare_log_collection_file_to_upload(filename) <= 0) {
ms_free(filename);
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment