fix output file name composition
This got broken in commit 1688ffc615
when I introduced including the line name in recording file name.
This commit is contained in:
parent
82e7cc0e95
commit
8b67e4ab47
|
@ -451,8 +451,8 @@ static int isdntap_open_file(struct isdntap_ts *ts, const char *call_label, cons
|
|||
char buf[PATH_MAX];
|
||||
int rc;
|
||||
|
||||
snprintf(buf, sizeof(buf), "%s/isdntap-%s-%s-%u-%s.raw", ts->line->name,
|
||||
ts->line->inst->cfg.output_path, call_label, ts->num, suffix);
|
||||
snprintf(buf, sizeof(buf), "%s/isdntap-%s-%s-%u-%s.raw", ts->line->inst->cfg.output_path,
|
||||
ts->line->name, call_label, ts->num, suffix);
|
||||
|
||||
rc = open(buf, O_CREAT|O_WRONLY|O_TRUNC|O_NONBLOCK, 0640);
|
||||
if (rc < 0) {
|
||||
|
|
Loading…
Reference in New Issue