From 186ceaaacb3265ee360f83615e48df0b06646974 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 14 Feb 2012 13:57:25 +0100 Subject: Fixed cRecordings::DelByName() to avoid compilation errors with gcc 4.4 (backport from version 1.7.9) --- recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recording.c') 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()); -- cgit v1.2.3