From: Andreas Ă–man Date: Tue, 14 Aug 2007 12:41:06 +0000 (+0000) Subject: Be more explicit in with overwrite protection logging X-Git-Tag: 2.12~1499 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=920fa134ab9c2dc0dd351ddac5af05ba0c2a578a;p=thirdparty%2Ftvheadend.git Be more explicit in with overwrite protection logging --- diff --git a/pvr_rec.c b/pvr_rec.c index 565686b2e..4a59fb471 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);