summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-08-16 10:42:05 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-08-16 10:42:05 +0200
commita397b8a512843bade38e5eb1c254ac59ad1c9d92 (patch)
tree4ed229557d7a0b6d950fdc008aee17d901588365 /recording.c
parent78fc3f2b30cc69bb348f15eb5dc0703c833c7851 (diff)
downloadvdr-a397b8a512843bade38e5eb1c254ac59ad1c9d92.tar.gz
vdr-a397b8a512843bade38e5eb1c254ac59ad1c9d92.tar.bz2
Fixed cRecordings::DelByName() to avoid compilation errors with gcc 4.4
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c
index 2ff7f6fa..f3c2c5ab 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 2.16 2009/06/13 13:34:08 kls Exp $
+ * $Id: recording.c 2.17 2009/08/16 10:39:43 kls Exp $
*/
#include "recording.h"
@@ -1156,7 +1156,7 @@ void cRecordings::DelByName(const char *FileName)
if (recording) {
cThreadLock DeletedRecordingsLock(&DeletedRecordings);
Del(recording, false);
- char *ext = strrchr(recording->FileName(), '.');
+ char *ext = strrchr(recording->fileName, '.');
if (ext) {
strncpy(ext, DELEXT, strlen(ext));
recording->fileSizeMB = DirSizeMB(recording->FileName());