Commit 634c6455 authored by François Grisez's avatar François Grisez

Fix build errors due to API change of bctbx_file_log_handler_reopen()

parent 6e88dbd7
......@@ -253,7 +253,7 @@ unsigned int linphone_logging_service_get_log_level_mask(const LinphoneLoggingSe
}
void linphone_logging_service_set_log_file(const LinphoneLoggingService *service, const char *dir, const char *filename, size_t max_size) {
bctbx_log_handler_t *log_handler = bctbx_create_file_log_handler((uint64_t)max_size, dir, filename, NULL);
bctbx_log_handler_t *log_handler = bctbx_create_file_log_handler((uint64_t)max_size, dir, filename);
bctbx_add_log_handler(log_handler);
}
......@@ -314,4 +314,4 @@ BELLE_SIP_INSTANCIATE_VPTR(LinphoneLoggingServiceCbs, belle_sip_object_t,
NULL, // clone
NULL, // marshal
FALSE // unown
);
\ No newline at end of file
);
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