Lines tagged with '#' in the 'info.vdr' file of a recording are now silently ignored when reading that file

This commit is contained in:
Klaus Schmidinger
2006-02-26 12:03:28 +01:00
parent 655b2297b9
commit 168348e7e4
4 changed files with 9 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recording.c 1.139 2006/02/25 17:05:48 kls Exp $
* $Id: recording.c 1.140 2006/02/26 11:59:59 kls Exp $
*/
#include "recording.h"
@@ -356,6 +356,7 @@ bool cRecordingInfo::Read(FILE *f)
case '@': free(aux);
aux = strdup(t);
break;
case '#': break; // comments are ignored
default: if (!ownEvent->Parse(s)) {
esyslog("ERROR: EPG data problem in line %d", line);
return false;