]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Be more explicit in with overwrite protection logging
authorAndreas Öman <andreas@lonelycoder.com>
Tue, 14 Aug 2007 12:41:06 +0000 (12:41 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Tue, 14 Aug 2007 12:41:06 +0000 (12:41 +0000)
pvr_rec.c

index 565686b2e6a41735adea6db241abc178f6e44081..4a59fb47158b456653b324c6f5668e2c302dbf79 100644 (file)
--- 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);