Commit 989e6fe2 authored by François Grisez's avatar François Grisez

Fix regression that caused bellesip_tester to took '--log-file' as invalid option

parent 6b29c68c
......@@ -91,7 +91,7 @@ int belle_sip_tester_set_log_file(const char *filename) {
char *base = bctbx_basename(filename);
belle_sip_message("Redirecting traces to file [%s]", filename);
bctbx_log_handler_t *filehandler = bctbx_create_file_log_handler(0, dir, base);
if (filehandler) {
if (filehandler == NULL) {
res = -1;
goto end;
}
......
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