Be more explicit in with overwrite protection logging
This commit is contained in:
parent
44606bde3c
commit
920fa134ab
1 changed files with 3 additions and 2 deletions
|
@ -387,13 +387,14 @@ pvr_generate_filename(pvr_rec_t *pvrr)
|
|||
break;
|
||||
}
|
||||
|
||||
syslog(LOG_DEBUG, "pvr: Overwrite protection, file \"%s\" exists",
|
||||
fullname);
|
||||
|
||||
tally++;
|
||||
snprintf(fullname, sizeof(fullname), "%s/%s-%s-%d.%s",
|
||||
config_get_str("pvrdir", "."), chname, out, tally,
|
||||
pvrr->pvrr_format);
|
||||
|
||||
syslog(LOG_DEBUG, "pvr: Testing filename \"%s\"", fullname);
|
||||
|
||||
}
|
||||
|
||||
pvrr->pvrr_filename = strdup(fullname);
|
||||
|
|
Loading…
Add table
Reference in a new issue