summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-08-24 11:01:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-08-24 11:01:42 +0200
commit60f8afdfcce6615a7a7fbb9ff4df6b1c7c4c9962 (patch)
tree02e5d3e65b1c8980efd167e9d83e9f7c823d9540 /config.c
parentb0069f34107ff16725f940a073382d92197bfad7 (diff)
downloadvdr-60f8afdfcce6615a7a7fbb9ff4df6b1c7c4c9962.tar.gz
vdr-60f8afdfcce6615a7a7fbb9ff4df6b1c7c4c9962.tar.bz2
Empty values in setup.conf are no longer treated as an error
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 924a70ed..0ef2d57f 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.115 2003/08/17 08:47:41 kls Exp $
+ * $Id: config.c 1.116 2003/08/24 11:00:24 kls Exp $
*/
#include "config.h"
@@ -215,7 +215,7 @@ bool cSetupLine::Parse(char *s)
*p = 0;
char *Name = compactspace(s);
char *Value = compactspace(p + 1);
- if (*Name && *Value) {
+ if (*Name) { // value may be an empty string
p = strchr(Name, '.');
if (p) {
*p = 0;