struct check_wav_task_btr _cwt, *cwt = &_cwt;
struct writer_node **wns;
+ loglevel = get_loglevel_by_name(conf.loglevel_arg);
sit.btrn = btr_new_node("stdin", NULL /* stdin has no parent */, NULL, NULL);
stdin_set_defaults(&sit);
register_task(&sit.task);
cwt->task.error = 0;
register_task(&cwt->task);
- PARA_CRIT_LOG("writers:\n");
-
ret = -E_WRITE_SYNTAX;
if (!conf.writer_given) {
i = 0;
} else {
wns = para_malloc(conf.writer_given * sizeof(*wns));
for (i = 0; i < conf.writer_given; i++) {
- PARA_CRIT_LOG("i: %d\n", i);
wns[i] = setup_writer_node(conf.writer_arg[i],
cwt->btrn);
if (!wns[i])
free(wn);
}
free(wns);
+ btr_free_node(cwt->btrn);
return ret;
}