summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-04-01 12:01:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-04-01 12:01:00 +0200
commit53ecd4181000f9d16ac34309a900d4d89bb0d93c (patch)
tree962405c0eb6d29ba66d373617abacaa7ca32d139
parentf4d94887188fc34d9a3101eb18c061d49acbb02e (diff)
downloadvdr-53ecd4181000f9d16ac34309a900d4d89bb0d93c.tar.gz
vdr-53ecd4181000f9d16ac34309a900d4d89bb0d93c.tar.bz2
Fixed a bug in parsing group separators in channels.conf
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--config.c3
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 682b37a4..4083bd43 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -87,6 +87,7 @@ Benjamin Reichardt <reichard@math.uni-goettingen.de>
Henning Holtschneider <hh@holtschneider.com>
for patching 'runvdr' to check whether the driver is already loaded
+ for reporting a bug in parsing group separators in channels.conf
Paulo Lopes <pmml@netvita.pt>
for translating OSD texts to the Portugese language
diff --git a/HISTORY b/HISTORY
index bf197f8a..ac26edaf 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1162,3 +1162,5 @@ Video Disk Recorder Revision History
- Fixed a bug when a timer records over midnight of a day that had a change in
Daylight Saving Time.
- Added Polish language texts (thanks to Michael Rakowski).
+- Fixed a bug in parsing group separators in channels.conf (thanks to Henning
+ Holtschneider for reporting this one).
diff --git a/config.c b/config.c
index ca6d6f82..7104dcc2 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.95 2002/04/01 10:54:32 kls Exp $
+ * $Id: config.c 1.96 2002/04/01 11:54:05 kls Exp $
*/
#include "config.h"
@@ -248,6 +248,7 @@ bool cChannel::Parse(const char *s)
strn0cpy(name, s, MaxChannelName);
name[strlen(name) - 1] = 0; // strip the '\n'
groupSep = true;
+ number = 0;
}
else
return false;