summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-26 12:03:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-26 12:03:28 +0100
commit168348e7e4025d51e2a9cce5415cbd92a7622a45 (patch)
treeaf6e19f75d6e1dfcf55ddf306225d8a971810261 /recording.c
parent655b2297b98095b5fb05fd755a57813beb1ce335 (diff)
downloadvdr-168348e7e4025d51e2a9cce5415cbd92a7622a45.tar.gz
vdr-168348e7e4025d51e2a9cce5415cbd92a7622a45.tar.bz2
Lines tagged with '#' in the 'info.vdr' file of a recording are now silently ignored when reading that file
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/recording.c b/recording.c
index d6f30879..b8db2647 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.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;