Be more explicit in with overwrite protection logging

This commit is contained in:
Andreas Öman 2007-08-14 12:41:06 +00:00
parent 44606bde3c
commit 920fa134ab

View file

@ -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);