summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-08-16 09:18:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-08-16 09:18:52 +0200
commit57a95c6790fd080020c49c79557619fd129a66e0 (patch)
tree05878ebcc65837f792835ecc0afac13beb7474ad /channels.c
parentfc19cf3527d42d88f428b6fa7a935c2dc7cfe781 (diff)
downloadvdr-57a95c6790fd080020c49c79557619fd129a66e0.tar.gz
vdr-57a95c6790fd080020c49c79557619fd129a66e0.tar.bz2
VDR now stops with result value 2 if one of the configuration files can't be read correctly at program startup
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels.c b/channels.c
index c68b4ee3..58577296 100644
--- a/channels.c
+++ b/channels.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.c 1.12 2003/04/26 09:57:48 kls Exp $
+ * $Id: channels.c 1.13 2003/08/16 09:12:26 kls Exp $
*/
#include "channels.h"
@@ -390,9 +390,9 @@ bool cChannel::Save(FILE *f)
cChannels Channels;
-bool cChannels::Load(const char *FileName, bool AllowComments)
+bool cChannels::Load(const char *FileName, bool AllowComments, bool MustExist)
{
- if (cConfig<cChannel>::Load(FileName, AllowComments)) {
+ if (cConfig<cChannel>::Load(FileName, AllowComments, MustExist)) {
ReNumber();
return true;
}