summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-14 13:57:25 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-14 13:57:25 +0100
commit186ceaaacb3265ee360f83615e48df0b06646974 (patch)
tree123899128223b0f281e47e9a84f961e39e60dd89 /recording.c
parent36b1caedc259a041277651c5ce29107823745418 (diff)
downloadvdr-stable/1.6.tar.gz
vdr-stable/1.6.tar.bz2
Fixed cRecordings::DelByName() to avoid compilation errors with gcc 4.4 (backport from version 1.7.9)1.6.0-3stable/1.6
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 e74fc839..a10208bf 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 1.162.1.1 2012/02/14 13:47:29 kls Exp $
+ * $Id: recording.c 1.162.1.2 2012/02/14 13:57:25 kls Exp $
*/
#include "recording.h"
@@ -1022,7 +1022,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());