From 920fa134ab9c2dc0dd351ddac5af05ba0c2a578a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Tue, 14 Aug 2007 12:41:06 +0000 Subject: [PATCH] Be more explicit in with overwrite protection logging --- pvr_rec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pvr_rec.c b/pvr_rec.c index 565686b2..4a59fb47 100644 --- a/pvr_rec.c +++ b/pvr_rec.c @@ -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);